Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 94479 invoked from network); 1 Aug 2008 07:46:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Aug 2008 07:46:36 -0000 Received: (qmail 92003 invoked by uid 500); 1 Aug 2008 07:46:35 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 91894 invoked by uid 500); 1 Aug 2008 07:46:34 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 91885 invoked by uid 500); 1 Aug 2008 07:46:34 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 91881 invoked by uid 99); 1 Aug 2008 07:46:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 00:46:34 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 07:45:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9EE40238889E; Fri, 1 Aug 2008 00:46:14 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r681620 - /webservices/axis2/trunk/c/src/core/clientapi/op_client.c Date: Fri, 01 Aug 2008 07:46:14 -0000 To: axis2-cvs@ws.apache.org From: damitha@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080801074614.9EE40238889E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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;