axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Dick (JIRA)" <>
Subject [jira] Commented: (AXISCPP-149) Memory cleaning of generated C++ array code
Date Wed, 07 Dec 2005 09:14:12 GMT
    [ ] 

Adrian Dick commented on AXISCPP-149:

I have made a number of modifications to the API and internal implementation to more neatly
 handle memory cleaning of arrays.

The WSDL2Ws tooling has also been updated to reflect these changes, and also include a number
of changes for the correct memory cleaning of other objects passed between the application
and the axis engine.

At this time the WSDL2Ws changes are complete for client-side doc/literal generated stubs.
 Server-side and rpc/encoded changes are still being applied.

> Memory cleaning of generated C++ array code
> -------------------------------------------
>          Key: AXISCPP-149
>          URL:
>      Project: Axis-C++
>         Type: Improvement
>   Components: WSDL processing - RPC
>     Versions: 1.3 Final
>  Environment: All Platforms
>     Reporter: Samisa Abeysinghe
>     Assignee: Adrian Dick
>      Fix For: 1.6 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:
For more information on JIRA, see:

View raw message