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 da...@apache.org on 2006/02/27 06:41:45 UTC

svn commit: r381267 - /webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c

Author: damitha
Date: Sun Feb 26 21:41:38 2006
New Revision: 381267

URL: http://svn.apache.org/viewcvs?rev=381267&view=rev
Log:
Uncommented the parser freeing in stax builder because now 
it does not give segfaults. After this step together with
my previous commits early today now memory leaks are greatly
reduced both in server and client.


Modified:
    webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c

Modified: webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c?rev=381267&r1=381266&r2=381267&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c Sun Feb 26 21:41:38 2006
@@ -800,11 +800,12 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     builder_impl = AXIS2_INTF_TO_IMPL(builder);
-    /*if(builder_impl->parser)
+
+    if(builder_impl->parser)
     {
         AXIS2_XML_READER_FREE(builder_impl->parser, env);
         builder_impl->parser = NULL;
-    }*/
+    }
     
     if(builder_impl->document)
     {