axis-c-user mailing list archives

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


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

View raw message