You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Dushshantha Chandradasa (JIRA)" <ji...@apache.org> on 2008/01/09 12:33:37 UTC
[jira] Resolved: (AXIS2C-876) Function
axiom_element_add_attribute[Alastair FETTES]
[ https://issues.apache.org/jira/browse/AXIS2C-876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dushshantha Chandradasa resolved AXIS2C-876.
--------------------------------------------
Resolution: Fixed
> Function axiom_element_add_attribute[Alastair FETTES]
> -----------------------------------------------------
>
> Key: AXIS2C-876
> URL: https://issues.apache.org/jira/browse/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)
>
> Attachments: diff1.txt
>
>
> <snippet>
> AXIS2_EXTERN
> 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)
> </snippet>
> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org