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/23 10:03:20 UTC

svn commit: r388113 - in /webservices/axis2/trunk/c/modules/core: clientapi/call.c deployment/arch_file_data.c

Author: sahan
Date: Thu Mar 23 01:03:18 2006
New Revision: 388113

URL: http://svn.apache.org/viewcvs?rev=388113&view=rev
Log:
more mem leak fixes

Modified:
    webservices/axis2/trunk/c/modules/core/clientapi/call.c
    webservices/axis2/trunk/c/modules/core/deployment/arch_file_data.c

Modified: webservices/axis2/trunk/c/modules/core/clientapi/call.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/call.c?rev=388113&r1=388112&r2=388113&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/call.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/call.c Thu Mar 23 01:03:18 2006
@@ -308,7 +308,13 @@
             conf_ctx = NULL;
         }
     }    
-    
+   
+    if(NULL != call_impl->op_template)
+    {
+        AXIS2_OP_FREE(call_impl->op_template, env);
+        call_impl->op_template = NULL;
+    } 
+
     AXIS2_FREE((*env)->allocator, call_impl);
     call_impl = NULL;
     

Modified: webservices/axis2/trunk/c/modules/core/deployment/arch_file_data.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/arch_file_data.c?rev=388113&r1=388112&r2=388113&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/arch_file_data.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/arch_file_data.c Thu Mar 23 01:03:18 2006
@@ -299,8 +299,6 @@
         file_data_impl->deployable_svcs = NULL;        
     }
     
-    file_data_impl->arch_file_data.ops = NULL;
-    
 	if(NULL != arch_file_data->ops)
     {
         AXIS2_FREE((*env)->allocator, arch_file_data->ops);