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 la...@apache.org on 2008/02/29 07:54:22 UTC

svn commit: r632239 - /webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c

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