Return-Path: Delivered-To: apmail-ws-axis-cvs-archive@www.apache.org Received: (qmail 13536 invoked from network); 1 Oct 2008 22:36:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2008 22:36:39 -0000 Received: (qmail 92974 invoked by uid 500); 1 Oct 2008 22:36:37 -0000 Delivered-To: apmail-ws-axis-cvs-archive@ws.apache.org Received: (qmail 92858 invoked by uid 500); 1 Oct 2008 22:36:37 -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 92848 invoked by uid 99); 1 Oct 2008 22:36:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 15:36:37 -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; Wed, 01 Oct 2008 22:35:43 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 03E72238889E; Wed, 1 Oct 2008 15:36:18 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r700957 - /webservices/axis/trunk/c/src/soap/SoapSerializer.cpp Date: Wed, 01 Oct 2008 22:36:17 -0000 To: axis-cvs@ws.apache.org From: nadiramra@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081001223618.03E72238889E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: nadiramra Date: Wed Oct 1 15:36:17 2008 New Revision: 700957 URL: http://svn.apache.org/viewvc?rev=700957&view=rev Log: AXISCPP-1056 - Memory Leak in SoapSerializer::serializeAsChardata() Modified: webservices/axis/trunk/c/src/soap/SoapSerializer.cpp Modified: webservices/axis/trunk/c/src/soap/SoapSerializer.cpp URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/SoapSerializer.cpp?rev=700957&r1=700956&r2=700957&view=diff ============================================================================== --- webservices/axis/trunk/c/src/soap/SoapSerializer.cpp (original) +++ webservices/axis/trunk/c/src/soap/SoapSerializer.cpp Wed Oct 1 15:36:17 2008 @@ -1107,6 +1107,8 @@ *this << pStr; + delete pSimpleType; + return AXIS_SUCCESS; }