[
https://issues.apache.org/jira/browse/AXIS2C-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bill Blough updated AXIS2C-1653:
--------------------------------
Fix Version/s: 1.7.0
> 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
> Priority: Major
> Fix For: 1.7.0
>
>
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]