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 Carsten Blecken <cb...@macrovision.com> on 2005/06/27 23:35:23 UTC

Memory leaks

Hi,

as we all know there are memory leaks in the current code base(AXISCPP-674).
 I had to manually change the stubs in order to get a memory leak free application.
I would like to add the memory changes I needed to the WSDL stub 
generator code base (doc-lit, C++). 

The approach for memory deallocation suggested in various places in the 
code (in comments) is to free the memory of primitive types right away in the 
stub and to free pointer types and complex type in the destructor (after the client
has used them). This is the approach I followed.

If I don't hear anything to the contrary I'll checkin the fixes in the next couple of days.

Thanks,

Carsten