Written by Justin Garcia
Reviewed by me and Darin Adler
Test cases added: none, doesn't affect layout
- fixed <rdar://problem/4232303> many objects leaked from HTMLTokenizer::parseTag()
within -[WebView paste:], seen running webkit tests (probably affects Mail)
* khtml/editing/replace_selection_command.cpp:
(khtml::ReplacementFragment::removeNode):
guard removeChild call with ref/deref, so if this is the last reference it won't
be left floating, and will properly self-destruct
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10390 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2 files changed