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: execute axiom_document_free(om_document, env); // and my hash_table key/val pairs are gone
Date Tue, 15 Jan 2008 14:52:00 GMT
Senaka Fernando wrote:
> 2. Consider duplicating the strings before copying to (or from) your hash.
> You can use axutil_strdup() for this purpose.
>   

Yes, this may solve your problems. I skimmed through the code given, and 
it looks to me you are using the shallow copies returned by the OM 
element accessor methods and store them in hashes without duplicating them.

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