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 "Lahiru Gunathilake (JIRA)" <ji...@apache.org> on 2008/01/04 05:17:34 UTC

[jira] Created: (AXIS2C-878) Function axiom_output_create

Function axiom_output_create
----------------------------

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


<snippet>
AXIS2_EXTERN
axiom_output_t* axiom_output_create(
     const axutil_env_t*     env,
     axiom_xml_writer_t*     xml_writer)
</snippet>

Problem: The return value of type axiom_output_t* takes responsibility for the memory allocated to the parameter xml_writer.

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


[jira] Updated: (AXIS2C-878) Function axiom_output_create[Alastair FETTES]

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake updated AXIS2C-878:
--------------------------------------

    Summary: Function axiom_output_create[Alastair FETTES]  (was: Function axiom_output_create)

> Function axiom_output_create[Alastair FETTES]
> ---------------------------------------------
>
>                 Key: AXIS2C-878
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-878
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: xml/om
>    Affects Versions: Current (Nightly)
>         Environment: Ubuntu 7.04
>            Reporter: Lahiru Gunathilake
>             Fix For: Current (Nightly)
>
>
> <snippet>
> AXIS2_EXTERN
> axiom_output_t* axiom_output_create(
>      const axutil_env_t*     env,
>      axiom_xml_writer_t*     xml_writer)
> </snippet>
> Problem: The return value of type axiom_output_t* takes responsibility for the memory allocated to the parameter xml_writer.
> 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


[jira] Updated: (AXIS2C-878) Function axiom_output_create[Alastair FETTES]

Posted by "Senaka Fernando (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Senaka Fernando updated AXIS2C-878:
-----------------------------------

    Attachment: diff.txt

Proposed patch (diff.txt) solves this issue.

Regards,
Senaka

> Function axiom_output_create[Alastair FETTES]
> ---------------------------------------------
>
>                 Key: AXIS2C-878
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-878
>             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: diff.txt
>
>
> <snippet>
> AXIS2_EXTERN
> axiom_output_t* axiom_output_create(
>      const axutil_env_t*     env,
>      axiom_xml_writer_t*     xml_writer)
> </snippet>
> Problem: The return value of type axiom_output_t* takes responsibility for the memory allocated to the parameter xml_writer.
> 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


[jira] Resolved: (AXIS2C-878) Function axiom_output_create[Alastair FETTES]

Posted by "Dushshantha Chandradasa (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dushshantha Chandradasa resolved AXIS2C-878.
--------------------------------------------

    Resolution: Fixed

> Function axiom_output_create[Alastair FETTES]
> ---------------------------------------------
>
>                 Key: AXIS2C-878
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-878
>             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: diff.txt
>
>
> <snippet>
> AXIS2_EXTERN
> axiom_output_t* axiom_output_create(
>      const axutil_env_t*     env,
>      axiom_xml_writer_t*     xml_writer)
> </snippet>
> Problem: The return value of type axiom_output_t* takes responsibility for the memory allocated to the parameter xml_writer.
> 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