Alex Mantaut created AXIS2C-1653:
------------------------------------
Summary: Builder not being freed while using
axiom_node_free_tree() on a node that owns the builder
Key: AXIS2C-1653
URL: https://issues.apache.org/jira/browse/AXIS2C-1653
Project: Axis2-C
Issue Type: Bug
Affects Versions: 1.6.0
Reporter: Alex Mantaut
axiom_stax_builder_free_self() sets the ownership of a builder to the root node
of that document, so it can continue to be used until no longer needed, and the
be released when releasing the root node.
If a builder a node and its builder are created, and then the builder is set to
be released by axiom_stax_builder_free_self(), there is a big memory leak when
releasing the root node with axiom_node_free_tree().
To see this memory leak check axiom/test/xpath/test_xpath read_test_xml()
creates the builder, axiom_node_free_tree() should release it.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]