You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/03/21 07:30:22 UTC

svn commit: r387438 - /webservices/axis2/trunk/c/modules/core/engine/conf.c

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)
     {