Reviewed by mjs.
authorkdecker <kdecker@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Nov 2004 05:18:01 +0000 (05:18 +0000)
committerkdecker <kdecker@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Nov 2004 05:18:01 +0000 (05:18 +0000)
commit8d5527ec3f992f92db83030acf3d7db0dc663ce5
tree57de5950b7d5e3b52eaefc648493d35fe22134f6
parente21239e367cbb77d68aad2fbec31bd6b762a8941
    Reviewed by mjs.

fixed: <rdar://problem/3823038> LEAK: huge leak in DOM::HTMLElementImpl::createContextualFragment(DOM::DOMString const&, bool)

        * khtml/html/html_elementimpl.cpp:
        (HTMLElementImpl::setInnerHTML): uses the ref counting system to deallocate fragments instead of explicitly invoking a destructor.
        (HTMLElementImpl::setOuterHTML): function is responsible for derefing the fragment prior to returning. Now it does.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/html/html_elementimpl.cpp