[evolution] EHTMLEditorView - Don't leak a WebKitODMNodeList instance



commit 62d3ac86c8678b0978a37003d4d2bc2efc5e4234
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Jun 29 12:13:32 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 24e3917..5eb9dba 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -10152,9 +10152,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]