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 jim <ji...@landoloons.com> on 2010/10/01 20:37:49 UTC

a question about the need to free axis2/axiom structures in a request

  I'm using the stubs and adb structures created by wsdl2c.   Let's say 
I create an axis2 request that contains some nested adb/axiom 
structures, including an axutil_base64_binary_t* for example.  I created 
all those structures with the corresponding  axis2_xxx_create() and 
axutil_xxx_create() calls.  After making the SOAP call, I free the 
request with the corresponding adb_xxx_free() call.

Now the big question. Does freeing the request object  free all the 
contained axis2/adb/axiom objects, or do I have to unwind it all myself 
and explicitly free these objects, from the bottom up?

Thanks,

Jim Hughes

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org