You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Thamm, Russell" <ru...@dsto.defence.gov.au> on 2003/07/24 00:37:06 UTC

Freeing mismatched memory

Sorry if this has been asked before but the archives for this list are not currently available.

When I free memory returned by XMLString::transpose (delete[]), purify always reports:

"Freeing mismatched memory in free_dbg"

Bounds Checker also reports similar errors.

This is under NT4 sp 6 using MSVC 6 sp 4.

Is there any way to avoid this purify error.

thanks
Russell Thamm


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


Re: Freeing mismatched memory

Posted by Vitaly Prapirny <ma...@mebius.net>.
"Thamm, Russell" wrote:
> When I free memory returned by XMLString::transpose (delete[]), purify always reports:
> 
> "Freeing mismatched memory in free_dbg"
If you mean XMLString::transcode then you have to free memory with
XMLString::release.

Good luck

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