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 "Adrian Dick (JIRA)" <ax...@ws.apache.org> on 2006/02/22 16:32:37 UTC

[jira] Created: (AXISCPP-935) Delete method in generated beans does not correctly delete arrays of the given type.

Delete method in generated beans does not correctly delete arrays of the given type.
------------------------------------------------------------------------------------

         Key: AXISCPP-935
         URL: http://issues.apache.org/jira/browse/AXISCPP-935
     Project: Axis-C++
        Type: Bug
  Components: WSDL processing - RPC, WSDL processing - Doc  
    Versions: current (nightly)    
    Reporter: Adrian Dick
 Assigned to: Adrian Dick 


The generated delete method (as handed into the engine for serialization) does not correctly  delete  arrays of that type.

It currently does an array delete (ie delete [] type; ) but it's actually an array of pointers to type, so it should be deleting each of the array elements, then deleting the array of pointers.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXISCPP-935) Delete method in generated beans does not correctly delete arrays of the given type.

Posted by "Adrian Dick (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-935?page=all ]
     
Adrian Dick closed AXISCPP-935:
-------------------------------

    Fix Version: current (nightly)
     Resolution: Fixed

> Delete method in generated beans does not correctly delete arrays of the given type.
> ------------------------------------------------------------------------------------
>
>          Key: AXISCPP-935
>          URL: http://issues.apache.org/jira/browse/AXISCPP-935
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing - RPC, WSDL processing - Doc
>     Versions: current (nightly)
>     Reporter: Adrian Dick
>     Assignee: Adrian Dick
>      Fix For: current (nightly)

>
> The generated delete method (as handed into the engine for serialization) does not correctly  delete  arrays of that type.
> It currently does an array delete (ie delete [] type; ) but it's actually an array of pointers to type, so it should be deleting each of the array elements, then deleting the array of pointers.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira