xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Smith" <steve.sm...@adacel.com>
Subject RE: getNodeValue() crashes
Date Tue, 04 Feb 2003 21:19:28 GMT
> From: David N Bertoni/Cambridge/IBM [mailto:david_n_bertoni@us.ibm.com]
> Hi Boris,
> Two things:
>    1. XMLString::transcode() returns a pointer to dynamic memory that you
>    must delete.  If you don't, it's a memory leak:

Alternatively, you can use the version of transcode that allows you to
supply your own string (which may be allocated on the stack and will clean
itself up).


To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org

View raw message