Hi,

Looks like that

in scenario

axiom_namespace_create                  
(
   m_env, 
   localNamespace, 
   NULL, 
); 

AXIOM_NODE_FREE_TREE will not "free" namespace

meanwhile if, 

axiom_namespace_create                  
(
   m_env, 
   localNamespace, 
   "", 
); 

AXIOM_NODE_FREE_TREE will "free" namespace

Thank you,
Leonid


Samisa Abeysinghe-2 wrote:
> 
> Krankurs, Leonid wrote:
>> Hi,
>>
>> i have memory leak when in axis2c 0.94, when attempt to free allocated
>> memory
>>
>> What is the best practice to cleanup node structure? -
>>
>> looks like 
>>
>> that
>>
>> 1. AXIOM_NODE_FREE_TREE(node, env)
>>
>> does not deallocates all memory of tree - should one expect that this
>> call
>> will
>> deallocate all memory of nodes, elements, ets?
>>
>> Should i manually travers through the tree and dispose each onbject?
>>   
> Freeing the tree should take care of the problem. If it does not, it is 
> a bug that needs fixing.
> Samisa...
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Re%3A-axis2c-0.94%2C-to-free-allocated-memory-tf2514457.html#a7078962
Sent from the Axis - C++ - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to