diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/egg/egg-menu-merge.c | 1 | ||||
-rw-r--r-- | lib/egg/egg-menu-merge.h | 2 |
2 files changed, 2 insertions, 1 deletions
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; |