axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lahiru Gunathilake (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2C-868) Function axiom_element_create
Date Fri, 04 Jan 2008 03:45:34 GMT
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message