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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]