ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r681620 - /webservices/axis2/trunk/c/src/core/clientapi/op_client.c
Date Fri, 01 Aug 2008 07:46:14 GMT
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;



Mime
View raw message