mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 17:59:34 +00:00
Fixed leak of an HTML Meta content object
This commit is contained in:
parent
3e30a759a0
commit
9fcc472d50
@ -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