mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 473540 - Fix leak in nsViewSourceHTML.cpp, r+sr=mrbkap
This commit is contained in:
parent
fc2ab5da36
commit
c2305a06bf
@ -1161,6 +1161,7 @@ void CViewSourceHTML::WriteTextInElement(const nsAString& tagName,
|
||||
AddAttrToNode(startNode, allocator, attrName, attrValue);
|
||||
}
|
||||
mSink->OpenContainer(startNode);
|
||||
IF_FREE(startToken, theAllocator);
|
||||
|
||||
// Add the text node.
|
||||
CTextToken textToken(text);
|
||||
|
Loading…
Reference in New Issue
Block a user