You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by pr...@apache.org on 2005/09/19 15:27:27 UTC

svn commit: r290153 - /webservices/axis/trunk/c/src/soap/xsd/AnyURI.cpp

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;
     }