Deallocation of a pointer not malloced

Venkatram Vundavalli <[email protected]>
Newsgroups gmane.comp.lib.icu.general
Message-ID <7D5800A5B6E26644B2EB7A862856B0D40A9D848E@SARASWATI>
Hi,
I was using UnicodeString in Mac OS X(10.2.6) using CodeWarrior(8.3). When
ever UnicodeString is destroyed, I am getting the following message.

*** malloc[1015]: Deallocation of a pointer not malloced: 0xbffffd30; This
could be a double free(), or free() called with the middle of an allocated
block; Try setting environment variable MallocHelp to see tools to help
debug

This message is appearing even on simple console application.
I guess, UnicodeString, for memory allocation and release, uses C APIs
uprv_malloc()(uses malloc() ) and  uprv_free()(uses free()). The code
appears to be pretty good.
This problem is not occurring in case of Windows. Did I miss any settings?
thanks,
Venkat


 <<Venkatram Vundavalli.vcf>>
Venkatram Vundavalli.vcf (application/octet-stream, 414 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.