axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lahiru Gunathilake (JIRA)" <>
Subject [jira] Created: (AXIS2C-876) Function axiom_element_add_attribute
Date Fri, 04 Jan 2008 04:13:35 GMT
Function axiom_element_add_attribute

                 Key: AXIS2C-876
             Project: Axis2-C
          Issue Type: Bug
          Components: xml/om
    Affects Versions: Current (Nightly)
         Environment: Ubuntu 7.04
            Reporter: Lahiru Gunathilake
             Fix For: Current (Nightly)

axis2_status_t axiom_element_add_attribute(
     axiom_element_t*       om_element,
     const axutil_env_t*    env,
     axiom_attribute_t*     attribute,
     axiom_node_t*          element_node)

Problem: The parameter om_element takes responsibility for the memory allocated for the parameter
attribute, thus a call to axiom_element_free will de-allocated the data for attribute. The
parameter om_element also takes responsibility for the namespace associated with attribute.

Solution: Document memory ownership for parameters and return value. 

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:
For additional commands, e-mail:

View raw message