Reviewed by Sam Weinig.
authorap@webkit.org <ap@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Jul 2008 05:52:37 +0000 (05:52 +0000)
committerap@webkit.org <ap@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Jul 2008 05:52:37 +0000 (05:52 +0000)
commit22db55d4537663d73c9cbdd9f3a1706214c0ea54
treed18f22addf71379ebcbbc6b0d641dad44c07eb1b
parent84ff2f3536ee22c5ecff85f43d0873fd0299a319
    Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=20169
        Memory allocated with fastMalloc is freed with delete

        * VM/JSPropertyNameIterator.cpp:
        (KJS::JSPropertyNameIterator::invalidate): Free the array properly.
        (KJS::JSPropertyNameIterator::~JSPropertyNameIterator): Delete the array by calling
        invalidate().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@35439 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/VM/JSPropertyNameIterator.cpp