axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject svn commit: r357032 - /webservices/axis/trunk/c/src/engine/Axis.cpp
Date Thu, 15 Dec 2005 15:37:08 GMT
Author: dicka
Date: Thu Dec 15 07:37:04 2005
New Revision: 357032

URL: http://svn.apache.org/viewcvs?rev=357032&view=rev
Log:
Fix regression in Axis.cpp relating to recent changes to xsd__base64Binary and xsd__hexBinary.

Modified:
    webservices/axis/trunk/c/src/engine/Axis.cpp

Modified: webservices/axis/trunk/c/src/engine/Axis.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/engine/Axis.cpp?rev=357032&r1=357031&r2=357032&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/engine/Axis.cpp (original)
+++ webservices/axis/trunk/c/src/engine/Axis.cpp Thu Dec 15 07:37:04 2005
@@ -665,24 +665,12 @@
             }
             case XSD_BASE64BINARY:
             {
-				if(	((xsd__base64Binary*) pValue)->__ptr != NULL)
-				{
-					delete [] ((xsd__base64Binary*) pValue)->__ptr;
-					((xsd__base64Binary*) pValue)->__ptr = NULL;
-				}
-
                 delete (xsd__base64Binary*) pValue;
                 pValue = NULL;
                 break;
             }
             case XSD_HEXBINARY:
             {
-				if(	((xsd__hexBinary*) pValue)->__ptr != NULL)
-				{
-					delete [] ((xsd__hexBinary*) pValue)->__ptr;
-					((xsd__hexBinary*) pValue)->__ptr = NULL;
-				}
-
                 delete (xsd__hexBinary*) pValue;
                 pValue = NULL;
                 break;



Mime
View raw message