axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r387438 - /webservices/axis2/trunk/c/modules/core/engine/conf.c
Date Tue, 21 Mar 2006 06:30:22 GMT
Author: samisa
Date: Mon Mar 20 22:30:19 2006
New Revision: 387438

URL: http://svn.apache.org/viewcvs?rev=387438&view=rev
Log:
Leak fix

Modified:
    webservices/axis2/trunk/c/modules/core/engine/conf.c

Modified: webservices/axis2/trunk/c/modules/core/engine/conf.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/conf.c?rev=387438&r1=387437&r2=387438&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/conf.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/conf.c Mon Mar 20 22:30:19 2006
@@ -821,6 +821,12 @@
         AXIS2_DEP_ENGINE_FREE(config_impl->dep_engine, env);
         config_impl->dep_engine= NULL;
     }
+    
+    if(config_impl->axis2_repos)
+    {
+        AXIS2_FREE((*env)->allocator, config_impl->axis2_repos);
+        config_impl->axis2_repos = NULL;
+    }
 
     if(NULL != conf->ops)
     {



Mime
View raw message