Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 87534 invoked from network); 27 Feb 2006 09:33:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Feb 2006 09:33:53 -0000 Received: (qmail 5289 invoked by uid 500); 27 Feb 2006 09:33:37 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 5135 invoked by uid 500); 27 Feb 2006 09:33:36 -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 5121 invoked by uid 500); 27 Feb 2006 09:33:36 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 5108 invoked by uid 99); 27 Feb 2006 09:33:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 01:33:35 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Feb 2006 01:33:35 -0800 Received: (qmail 87170 invoked by uid 65534); 27 Feb 2006 09:33:14 -0000 Message-ID: <20060227093314.87167.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381302 - /webservices/axis2/trunk/c/modules/core/context/msg_ctx.c Date: Mon, 27 Feb 2006 09:33:13 -0000 To: axis2-cvs@ws.apache.org From: samisa@apache.org X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: samisa Date: Mon Feb 27 01:33:07 2006 New Revision: 381302 URL: http://svn.apache.org/viewcvs?rev=381302&view=rev Log: More memory leak fixes by calling the correct free methods Modified: webservices/axis2/trunk/c/modules/core/context/msg_ctx.c Modified: webservices/axis2/trunk/c/modules/core/context/msg_ctx.c URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/context/msg_ctx.c?rev=381302&r1=381301&r2=381302&view=diff ============================================================================== --- webservices/axis2/trunk/c/modules/core/context/msg_ctx.c (original) +++ webservices/axis2/trunk/c/modules/core/context/msg_ctx.c Mon Feb 27 01:33:07 2006 @@ -618,13 +618,13 @@ if (msg_ctx_impl->base) { - AXIS2_FREE((*env)->allocator, msg_ctx_impl->base); + AXIS2_CTX_FREE(msg_ctx_impl->base, env); msg_ctx_impl->base = NULL; } if (msg_ctx_impl->msg_info_headers) { - AXIS2_FREE((*env)->allocator, msg_ctx_impl->msg_info_headers); + AXIS2_MSG_INFO_HEADERS_FREE(msg_ctx_impl->msg_info_headers, env); msg_ctx_impl->msg_info_headers = NULL; }