aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/icecat-CVE-2016-2821.patch
blob: 8255d60009ca910453e8cacab637f99269b81785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  changeset:   312045:7aea44059251
  user:        Olli Pettay <Olli.Pettay@helsinki.fi>
  Date:        Fri May 13 20:10:22 2016 +0300
  summary:     Bug 1271460, don't leak editor created element objects, r=ehsan a=ritu

diff -r 09418166fd77 -r 7aea44059251 editor/libeditor/nsHTMLInlineTableEditor.cpp
--- a/editor/libeditor/nsHTMLInlineTableEditor.cpp	Wed May 11 10:14:45 2016 +0100
+++ b/editor/libeditor/nsHTMLInlineTableEditor.cpp	Fri May 13 20:10:22 2016 +0300
@@ -109,7 +109,6 @@
 
   // get the root content node.
   nsCOMPtr<nsIContent> bodyContent = GetRoot();
-  NS_ENSURE_TRUE(bodyContent, NS_ERROR_FAILURE);
 
   DeleteRefToAnonymousNode(mAddColumnBeforeButton, bodyContent, ps);
   mAddColumnBeforeButton = nullptr;