Added NS_RELEASE in FlushText() of interface returned from QueryInterface()
git-svn-id: svn://10.0.0.236/trunk@7784 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1501,6 +1501,7 @@ HTMLContentSink::FlushText()
|
||||
nsIContent* content = nsnull;
|
||||
mCurrentText->QueryInterface(kIContentIID, (void**) &content);
|
||||
content->SetDocument(mDocument);
|
||||
NS_RELEASE(content);
|
||||
NS_RELEASE(mCurrentText);
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user