You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2007/04/05 13:18:51 UTC
svn commit: r525798 -
/webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c
Author: nandika
Date: Thu Apr 5 04:18:50 2007
New Revision: 525798
URL: http://svn.apache.org/viewvc?view=rev&rev=525798
Log:
free function corrected in om_stax_builder.c
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?view=diff&rev=525798&r1=525797&r2=525798
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c Thu Apr 5 04:18:50 2007
@@ -758,13 +758,6 @@
{
return;
}
-
- if (om_builder->parser)
- {
- axiom_xml_reader_free(om_builder->parser, env);
- om_builder->parser = NULL;
- }
-
if (om_builder->declared_namespaces)
{
axutil_hash_free(om_builder->declared_namespaces, env);
@@ -783,6 +776,12 @@
axiom_node_free_tree(om_builder->root_node, env);
om_builder->root_node = NULL;
}
+ }
+
+ if (om_builder->parser)
+ {
+ axiom_xml_reader_free(om_builder->parser, env);
+ om_builder->parser = NULL;
}
AXIS2_FREE(env->allocator, om_builder);
return;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org