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 "Ryan McCullough (JIRA)" <ax...@ws.apache.org> on 2008/10/01 22:03:44 UTC

[jira] Created: (AXISCPP-1056) Memory Leak in SoapSerializer::serializeAsChardata()

Memory Leak in SoapSerializer::serializeAsChardata()
----------------------------------------------------

                 Key: AXISCPP-1056
                 URL: https://issues.apache.org/jira/browse/AXISCPP-1056
             Project: Axis-C++
          Issue Type: Bug
          Components: Serialization
         Environment: Windows XP, VS6 with Compuware BoundsChecker 
            Reporter: Ryan McCullough
             Fix For: current (nightly)


The function:
int SoapSerializer::serializeAsChardata( void * pValue, XSDTYPE type)

contains a memory leak. pSimpleType is being new'd but not deleted.

We propose that 'delete pSimpleType;' be added before 'return AXIS_SUCCESS;'.

-- 
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] Closed: (AXISCPP-1056) Memory Leak in SoapSerializer::serializeAsChardata()

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/AXISCPP-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nadir amra closed AXISCPP-1056.
-------------------------------

    Resolution: Fixed

Thanks for the input.  Fixed in SVN revision 700957  (http://svn.apache.org/viewvc?view=rev&revision=700957)

> Memory Leak in SoapSerializer::serializeAsChardata()
> ----------------------------------------------------
>
>                 Key: AXISCPP-1056
>                 URL: https://issues.apache.org/jira/browse/AXISCPP-1056
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Serialization
>         Environment: Windows XP, VS6 with Compuware BoundsChecker 
>            Reporter: Ryan McCullough
>             Fix For: current (nightly)
>
>
> The function:
> int SoapSerializer::serializeAsChardata( void * pValue, XSDTYPE type)
> contains a memory leak. pSimpleType is being new'd but not deleted.
> We propose that 'delete pSimpleType;' be added before 'return AXIS_SUCCESS;'.

-- 
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