diff options
author | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-07-12 01:33:34 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-07-12 01:33:34 +0800 |
commit | ccfab965e6affe6f6a4ed0c8e370a121ea4010e2 (patch) | |
tree | 4aeec0ab099d9c62a98bc4d7be5c5ad61c91c7e2 | |
parent | ebab320d3037aa258cd26b12841b63e7f8c50b7d (diff) | |
download | gsoc2013-epiphany-ccfab965e6affe6f6a4ed0c8e370a121ea4010e2.tar gsoc2013-epiphany-ccfab965e6affe6f6a4ed0c8e370a121ea4010e2.tar.gz gsoc2013-epiphany-ccfab965e6affe6f6a4ed0c8e370a121ea4010e2.tar.bz2 gsoc2013-epiphany-ccfab965e6affe6f6a4ed0c8e370a121ea4010e2.tar.lz gsoc2013-epiphany-ccfab965e6affe6f6a4ed0c8e370a121ea4010e2.tar.xz gsoc2013-epiphany-ccfab965e6affe6f6a4ed0c8e370a121ea4010e2.tar.zst gsoc2013-epiphany-ccfab965e6affe6f6a4ed0c8e370a121ea4010e2.zip |
*** empty log message ***
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | lib/egg/egg-menu-merge.c | 1 | ||||
-rw-r--r-- | lib/egg/egg-menu-merge.h | 2 |
3 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2003-07-11 Christian Persch <chpe@cvs.gnome.org> + + * lib/egg/egg-menu-merge.h: + * lib/egg/egg-menu-merge.c: (update_node): + + Fix mem leak. + 2003-07-11 David Bordoley <bordoley@msu.edu> * lib/widgets/ephy-autocompletion-window.c: 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; |