[gtkhtml/gnome-3-6] Fix a memory leak (GtkhtmlFaceAction instance)
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkhtml/gnome-3-6] Fix a memory leak (GtkhtmlFaceAction instance)
- Date: Thu, 31 Jan 2013 13:34:40 +0000 (UTC)
commit 6c03de29d208cb589a9cc1d21c3b7c95d12aa299
Author: Milan Crha <mcrha redhat com>
Date: Thu Jan 31 14:34:23 2013 +0100
Fix a memory leak (GtkhtmlFaceAction instance)
components/editor/gtkhtml-editor-actions.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/components/editor/gtkhtml-editor-actions.c b/components/editor/gtkhtml-editor-actions.c
index 35d174f..5733f52 100644
--- a/components/editor/gtkhtml-editor-actions.c
+++ b/components/editor/gtkhtml-editor-actions.c
@@ -2142,6 +2142,7 @@ gtkhtml_editor_actions_init (GtkhtmlEditor *editor)
action, "item-activated",
G_CALLBACK (action_insert_face_cb), editor);
gtk_action_group_add_action (action_group, action);
+ g_object_unref (action);
/* Core Actions (HTML only) */
action_group = editor->priv->html_actions;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]