mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1271460, don't leak editor created element objects, r=ehsan a=ritu
This commit is contained in:
parent
b5e66cda70
commit
338a7aa0e1
@ -109,7 +109,6 @@ nsHTMLEditor::HideInlineTableEditingUI()
|
||||
|
||||
// get the root content node.
|
||||
nsCOMPtr<nsIContent> bodyContent = GetRoot();
|
||||
NS_ENSURE_TRUE(bodyContent, NS_ERROR_FAILURE);
|
||||
|
||||
DeleteRefToAnonymousNode(mAddColumnBeforeButton, bodyContent, ps);
|
||||
mAddColumnBeforeButton = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user