From ccfab965e6affe6f6a4ed0c8e370a121ea4010e2 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 11 Jul 2003 17:33:34 +0000 Subject: *** empty log message *** --- lib/egg/egg-menu-merge.c | 1 + lib/egg/egg-menu-merge.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/egg/egg-menu-merge.c b/lib/egg/egg-menu-merge.c index 03f5686f0..f9e53594b 100644 --- a/lib/egg/egg-menu-merge.c +++ b/lib/egg/egg-menu-merge.c @@ -1263,6 +1263,7 @@ update_node (EggMenuMerge *self, GNode *node) NODE_INFO(node)->type == EGG_MENU_MERGE_TOOLBAR_PLACEHOLDER) && NODE_INFO(node)->extra) gtk_widget_destroy(NODE_INFO(node)->extra); + g_free (NODE_INFO(node)->name); g_chunk_free(NODE_INFO(node), merge_node_chunk); g_node_destroy(node); } diff --git a/lib/egg/egg-menu-merge.h b/lib/egg/egg-menu-merge.h index 842663b58..6607b0ff3 100644 --- a/lib/egg/egg-menu-merge.h +++ b/lib/egg/egg-menu-merge.h @@ -55,7 +55,7 @@ struct _EggMenuMergeClass { struct _EggMenuMergeNode { EggMenuMergeNodeType type; - const gchar *name; + gchar *name; GQuark action_name; EggAction *action; -- cgit v1.2.3