axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r632239 - /webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c
Date Fri, 29 Feb 2008 06:54:22 GMT
Author: lahiru
Date: Thu Feb 28 22:54:19 2008
New Revision: 632239

URL: http://svn.apache.org/viewvc?rev=632239&view=rev
Log:
fixed a memory leak.

Modified:
    webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c

Modified: webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c?rev=632239&r1=632238&r2=632239&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c Thu Feb 28 22:54:19 2008
@@ -202,11 +202,19 @@
         }
         if (uri)
         {
+#ifdef AXIS2_GUTHTHILA_ENABLED
+            AXIS2_FREE(env->allocator,uri);
+#else
             axiom_xml_reader_xml_free(om_builder->parser, env, uri);
+#endif
         }
         if (prefix)
         {
+#ifdef AXIS2_GUTHTHILA_ENABLED
+            AXIS2_FREE(env->allocator,prefix);
+#else
             axiom_xml_reader_xml_free(om_builder->parser, env, prefix);
+#endif
         }
         if (attr_name_str)
         {



---------------------------------------------------------------------
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