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/03/03 07:01:56 UTC
svn commit: r632943 -
/webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c
Author: lahiru
Date: Sun Mar 2 22:01:52 2008
New Revision: 632943
URL: http://svn.apache.org/viewvc?rev=632943&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=632943&r1=632942&r2=632943&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 Sun Mar 2 22:01:52 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