axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r381267 - /webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c
Date Mon, 27 Feb 2006 05:41:45 GMT
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)
     {



Mime
View raw message