axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <>
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message