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 da...@apache.org on 2008/08/01 09:46:14 UTC

svn commit: r681620 - /webservices/axis2/trunk/c/src/core/clientapi/op_client.c

Author: damitha
Date: Fri Aug  1 00:46:13 2008
New Revision: 681620

URL: http://svn.apache.org/viewvc?rev=681620&view=rev
Log:
Fixed the memory leak decribed in AXIS2C-1249

Modified:
    webservices/axis2/trunk/c/src/core/clientapi/op_client.c

Modified: webservices/axis2/trunk/c/src/core/clientapi/op_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/clientapi/op_client.c?rev=681620&r1=681619&r2=681620&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/clientapi/op_client.c (original)
+++ webservices/axis2/trunk/c/src/core/clientapi/op_client.c Fri Aug  1 00:46:13 2008
@@ -1348,6 +1348,12 @@
                 AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Response is not valid. Blocking invocation expects response.");
                 break;
         }
+
+        if(response)
+        {
+            axis2_msg_ctx_free(response, env);
+        }
+
         return NULL;
     }
     return response;