diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-01-25 21:55:37 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-25 21:55:37 +0800 |
commit | 3581016c967e67030e184d9dbc856c0ba07deda2 (patch) | |
tree | 390df4bd864b011907ea59cb90b3a4f274722636 /src/ephy-tabs-menu.c | |
parent | 06f850bde5bcb9cd58dc0a7e2548a9eeb30a9d4c (diff) | |
download | gsoc2013-epiphany-3581016c967e67030e184d9dbc856c0ba07deda2.tar gsoc2013-epiphany-3581016c967e67030e184d9dbc856c0ba07deda2.tar.gz gsoc2013-epiphany-3581016c967e67030e184d9dbc856c0ba07deda2.tar.bz2 gsoc2013-epiphany-3581016c967e67030e184d9dbc856c0ba07deda2.tar.lz gsoc2013-epiphany-3581016c967e67030e184d9dbc856c0ba07deda2.tar.xz gsoc2013-epiphany-3581016c967e67030e184d9dbc856c0ba07deda2.tar.zst gsoc2013-epiphany-3581016c967e67030e184d9dbc856c0ba07deda2.zip |
Fix mem leak.
2004-01-25 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-tabs-menu.c: (tab_set_action_accelerator):
Fix mem leak.
Diffstat (limited to 'src/ephy-tabs-menu.c')
-rw-r--r-- | src/ephy-tabs-menu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ephy-tabs-menu.c b/src/ephy-tabs-menu.c index c8eb3b91b..ffa4a7058 100644 --- a/src/ephy-tabs-menu.c +++ b/src/ephy-tabs-menu.c @@ -235,7 +235,7 @@ tab_set_action_accelerator (GtkActionGroup *action_group, guint tab_number) { const char *action_name, *action_group_name; - char *accel_path = NULL; + char *accel_path; char accel[7]; gint accel_number; guint accel_key; @@ -269,6 +269,8 @@ tab_set_action_accelerator (GtkActionGroup *action_group, { gtk_accel_map_change_entry (accel_path, 0, 0, TRUE); } + + g_free (accel_path); } void |