[evolution/gnome-3-18] EHTMLEditorView - Don't leak the WebKitDOMRange object when undoing the Return key press
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-18] EHTMLEditorView - Don't leak the WebKitDOMRange object when undoing the Return key press
- Date: Fri, 13 Nov 2015 12:39:48 +0000 (UTC)
commit 849943382b7c8903fa806d52025c7d7e9f2674b4
Author: Tomas Popela <tpopela redhat com>
Date: Fri Nov 13 12:52:58 2015 +0100
EHTMLEditorView - Don't leak the WebKitDOMRange object when undoing the Return key press
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 ce76675..77c8bb4 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -12478,6 +12478,7 @@ undo_delete (EHTMLEditorView *view,
webkit_dom_dom_selection_remove_all_ranges (dom_selection);
webkit_dom_dom_selection_add_range (dom_selection, range);
g_object_unref (dom_selection);
+ g_object_unref (range);
e_html_editor_selection_save (selection);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]