axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kausha...@apache.org
Subject svn commit: r447240 - /webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c
Date Mon, 18 Sep 2006 05:08:59 GMT
Author: kaushalye
Date: Sun Sep 17 22:08:59 2006
New Revision: 447240

URL: http://svn.apache.org/viewvc?view=rev&rev=447240
Log:
Memory leak fixed

Modified:
    webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c

Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c?view=diff&rev=447240&r1=447239&r2=447240
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c Sun Sep 17 22:08:59 2006
@@ -287,6 +287,14 @@
         AXIS2_FREE(env->allocator, builder->ops);
         builder->ops = NULL;
     }
+
+    if(builder_impl)
+    {
+        AXIS2_FREE(env->allocator, builder_impl);
+        builder_impl = NULL;
+    }
+
+
     AXIS2_FREE(env->allocator, builder_impl);
     return AXIS2_SUCCESS;
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message