Function axiom_element_create
-----------------------------

                 Key: AXIS2C-868
                 URL: https://issues.apache.org/jira/browse/AXIS2C-868
             Project: Axis2-C
          Issue Type: Bug
    Affects Versions: Current (Nightly)
         Environment: Ubuntu 7.04
            Reporter: Lahiru Gunathilake
             Fix For: Current (Nightly)


AXIS2_EXTERN
axiom_element_t* axiom_element_create(    
      const axutil_env_t*   env,
      axiom_node_t*         parent,
      const axis2_char_t*   localname,
      axiom_namespace_t*    ns,
      axiom_node_t**        node)

The axiom_node_t instance node has responsibility for the returned 
axion_element_t*.  Therefore, calls to axiom_node_free_tree will free this 
returned element (in addition to all the child nodes of node).  The memory 
allocated for the return value should not be de-allocated using 
axiom_element_free in this scenario, since it is internally tied to the node.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to