Have the two malloc zones print useful diagnostics if their free method are unexpecte...
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Jan 2008 08:02:06 +0000 (08:02 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Jan 2008 08:02:06 +0000 (08:02 +0000)
commitce7e00447fe2358eec21c6626c88c48890414347
tree678f3aaefb1c80f25bb1eae555495ad160dc23fb
parent5ed9550da79129b8e7c53ca7d574f3cc95f142c6
Have the two malloc zones print useful diagnostics if their free method are unexpectedly invoked.
Due to <rdar://problem/5671357> this can happen if an application attempts to free a pointer that
was not allocated by any registered malloc zone on the system.

Reviewed by Maciej Stachowiak.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29194 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/CollectorHeapIntrospector.h
JavaScriptCore/wtf/FastMalloc.cpp