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 "Mark Whitlock (JIRA)" <ax...@ws.apache.org> on 2004/10/25 14:39:11 UTC

[jira] Assigned: (AXISCPP-149) Memory cleaning of generated C++ array code

     [ http://issues.apache.org/jira/browse/AXISCPP-149?page=history ]

Mark Whitlock reassigned AXISCPP-149:
-------------------------------------

    Assign To: Mark Whitlock

> Memory cleaning of generated C++ array code
> -------------------------------------------
>
>          Key: AXISCPP-149
>          URL: http://issues.apache.org/jira/browse/AXISCPP-149
>      Project: Axis-C++
>         Type: Improvement
>   Components: WSDL processing
>     Versions: 1.3 Final
>  Environment: All Platforms
>     Reporter: Samisa Abeysinghe
>     Assignee: Mark Whitlock
>      Fix For: 1.4 Alpha

>
> In case of Arrays, I noticed that the WSDL2WS tool is generating a 
> struct.
> e.g.
> typedef struct SOAPStruct_ArrayTag
> {
>         SOAPStruct* m_Array;
>         int m_Size;
> } SOAPStruct_Array;
> The trouble here is that in case of returned values/parameters the user 
> has to delete the m_Array mamber explicitly.
> I think a more cleaner way would be to use a class here and use a 
> destructor to clean memory.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira