axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <sam...@wso2.com>
Subject Re: a question about memory free
Date Tue, 08 Apr 2008 14:39:59 GMT
Rui Feng Guan wrote:
> I am a beginner in axis2.
> In sample source code notify_client.c, axiom_element_create creates a 
> node notify_om_node. But after the node is created, there is no place 
> to free this node. I can only find two places to free memory: 
> axis2_svc_client_free and axutil_env_free. But after reading source 
> code of these two functions, no one free the node created by function 
> axiom_element_create. Did I miss something or the sample forget to 
> free the node? If it is, how to free the node?

I think we should document this somewhere. Anyway, once you pass the 
payload to service client operation invocation, it takes over the node 
ownership and frees it when service client is freed.

Thanks,
Samisa...


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


Mime
View raw message