Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 77291 invoked from network); 19 Sep 2005 13:27:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Sep 2005 13:27:32 -0000 Received: (qmail 83431 invoked by uid 500); 19 Sep 2005 13:27:31 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 83249 invoked by uid 500); 19 Sep 2005 13:27:29 -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 83229 invoked by uid 99); 19 Sep 2005 13:27:29 -0000 X-ASF-Spam-Status: No, hits=-9.8 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, 19 Sep 2005 06:27:29 -0700 Received: (qmail 77234 invoked by uid 65534); 19 Sep 2005 13:27:28 -0000 Message-ID: <20050919132728.77231.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r290153 - /webservices/axis/trunk/c/src/soap/xsd/AnyURI.cpp Date: Mon, 19 Sep 2005 13:27:27 -0000 To: axis-cvs@ws.apache.org From: prestonf@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: prestonf Date: Mon Sep 19 06:27:25 2005 New Revision: 290153 URL: http://svn.apache.org/viewcvs?rev=290153&view=rev Log: The serialise method deleted the string buffer pointer of a string. This should not have been deleted as it is managed my the string object. Modified: webservices/axis/trunk/c/src/soap/xsd/AnyURI.cpp Modified: webservices/axis/trunk/c/src/soap/xsd/AnyURI.cpp URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/soap/xsd/AnyURI.cpp?rev=290153&r1=290152&r2=290153&view=diff ============================================================================== --- webservices/axis/trunk/c/src/soap/xsd/AnyURI.cpp (original) +++ webservices/axis/trunk/c/src/soap/xsd/AnyURI.cpp Mon Sep 19 06:27:25 2005 @@ -124,7 +124,7 @@ AxisChar* serializedValue = (AxisChar*) replaceReservedCharacters(valueAsString).c_str(); IAnySimpleType::serialize(serializedValue); - delete [] serializedValue; + return m_Buf; }