You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/03/05 05:05:29 UTC

svn commit: r383276 - /webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c

Author: samisa
Date: Sat Mar  4 20:05:28 2006
New Revision: 383276

URL: http://svn.apache.org/viewcvs?rev=383276&view=rev
Log:
Fixed AXIS2C-89. There was a double free of om_builder

Modified:
    webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c?rev=383276&r1=383275&r2=383276&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c Sat Mar  4 20:05:28 2006
@@ -207,7 +207,9 @@
                     AXIS2_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI);
 		if(NULL == soap_builder)
 		{
-			AXIS2_OM_STAX_BUILDER_FREE(om_builder, env);
+			/* We should not be freeing om_builder here as it is done by
+            axis2_soap_builder_create in case of error - Samisa*/
+            /*AXIS2_OM_STAX_BUILDER_FREE(om_builder, env);*/
 			om_builder = NULL;
 			xml_reader = NULL;
 			return AXIS2_FAILURE;