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



commit 9229e49c8af1fca2adbf9c70328ee3973081ada5
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Jun 29 12:11:24 2016 +0200

    EHTMLEditorView - Don't leak a WebKitDOMNodeList instance

 e-util/e-html-editor-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 6baa0da..731b405 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -3175,6 +3175,7 @@ remove_empty_blocks (WebKitDOMDocument *document)
                remove_node (node);
                g_object_unref (node);
        }
+       g_object_unref (list);
 
        list = webkit_dom_document_query_selector_all (
                document, "blockquote[type=cite]:empty", NULL);


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