axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r389405 - /webservices/axis2/trunk/c/modules/core/clientapi/call.c
Date Tue, 28 Mar 2006 05:53:16 GMT
Author: nandika
Date: Mon Mar 27 21:53:14 2006
New Revision: 389405

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

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=389405&r1=389404&r2=389405&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/call.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/call.c Mon Mar 27 21:53:14 2006
@@ -388,6 +388,13 @@
     
     AXIS2_MSG_CTX_SET_MESSAGE_ID(msg_ctx, env, message_id);
 
+    if(NULL != message_id)
+    {
+        AXIS2_FREE((*env)->allocator, message_id);
+        message_id = NULL;
+    }
+
+   
     if (call_impl->use_separate_listener) 
     {
         axis2_callback_t *callback = NULL;



Mime
View raw message