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 na...@apache.org on 2006/03/28 07:53:16 UTC

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

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;