Fixed leak of an HTML Meta content object
git-svn-id: svn://10.0.0.236/trunk@7813 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
1e5f0b9259
commit
7846ca35d8
@ -1648,6 +1648,7 @@ HTMLContentSink::ProcessMETATag(const nsIParserNode& aNode)
|
||||
if (NS_OK == rv) {
|
||||
rv = AddAttributes(aNode, it);
|
||||
mHead->AppendChild(it, PR_FALSE);
|
||||
NS_RELEASE(it);
|
||||
}
|
||||
NS_RELEASE(atom);
|
||||
}
|
||||
|
||||
@ -1648,6 +1648,7 @@ HTMLContentSink::ProcessMETATag(const nsIParserNode& aNode)
|
||||
if (NS_OK == rv) {
|
||||
rv = AddAttributes(aNode, it);
|
||||
mHead->AppendChild(it, PR_FALSE);
|
||||
NS_RELEASE(it);
|
||||
}
|
||||
NS_RELEASE(atom);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user