[evolution/gnome-3-16] EHTMLEditorView - Free an unused history event object when inserting the tabulator fails
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-16] EHTMLEditorView - Free an unused history event object when inserting the tabulator fails
- Date: Thu, 16 Apr 2015 13:51:12 +0000 (UTC)
commit 831f1b7370d65f242e00ff81d8b4facbea9ad15c
Author: Tomas Popela <tpopela redhat com>
Date: Thu Apr 16 15:44:01 2015 +0200
EHTMLEditorView - Free an unused history event object when inserting the tabulator fails
e-util/e-html-editor-view.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 95f3b30..b17baeb 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -4530,7 +4530,8 @@ insert_tabulator (EHTMLEditorView *view)
ev->data.fragment = fragment;
e_html_editor_view_insert_new_history_event (view, ev);
- }
+ } else
+ g_free (ev);
return success;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]