[evolution/gnome-3-20] EHTMLEditorView - Don't leak a WebKitODMNodeList instance



commit b33cf9c9df4e0ea4a81d0464ff28131c64b78b2b
Author: Tomas Popela <tpopela redhat com>
Date:   Mon Jun 27 10:53:37 2016 +0200

    EHTMLEditorView - Don't leak a WebKitODMNodeList instance
    
    Unref the correct variable.

 e-util/e-html-editor-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 7dbd88a..1cd624b 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -10196,9 +10196,9 @@ remove_background_images_in_element (WebKitDOMElement *element)
                remove_image_attributes_from_element (image);
                g_object_unref (image);
        }
+       g_object_unref (images);
 
        remove_image_attributes_from_element (element);
-       g_object_unref (element);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]