You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/04/05 10:58:05 UTC

svn commit: r391569 - /webservices/axis2/trunk/c/modules/core/clientapi/call.c

Author: samisa
Date: Wed Apr  5 01:58:04 2006
New Revision: 391569

URL: http://svn.apache.org/viewcvs?rev=391569&view=rev
Log:
Fixed memory leak

Modified:
    webservices/axis2/trunk/c/modules/core/clientapi/call.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=391569&r1=391568&r2=391569&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/call.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/call.c Wed Apr  5 01:58:04 2006
@@ -334,11 +334,11 @@
         call_impl->axis_svc_private = NULL;
     }
 
-    /*if(NULL != call_impl->op_template)
+    if(NULL != call_impl->listener_manager)
     {
-        AXIS2_OP_FREE(call_impl->op_template, env);
-        call_impl->op_template = NULL;
-    }*/ 
+        AXIS2_LISTNER_MANAGER_FREE(call_impl->listener_manager, env);
+        call_impl->listener_manager = NULL;
+    }
 
     AXIS2_FREE((*env)->allocator, call_impl);
     call_impl = NULL;