bug 283564: Fix a leak when the HTML fragment sink is used to parse an empty string by ensuring that DidBuildModel() is always called. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169884 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -707,6 +707,7 @@ nsHTMLFragmentContentSink::DidBuildContent()
|
||||
{
|
||||
if (!mAllContent) {
|
||||
FlushText();
|
||||
DidBuildModel(); // Release our ref to the parser now.
|
||||
mProcessing = PR_FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user