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