Bug 1271460, don't leak editor created element objects, r=ehsan a=ritu

This commit is contained in:
Olli Pettay 2016-05-13 20:10:22 +03:00
parent b5e66cda70
commit 338a7aa0e1

View File

@ -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;