diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ephy-tabs-menu.c | 4 |
2 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2004-01-25 Christian Persch <chpe@cvs.gnome.org> + * src/ephy-tabs-menu.c: (tab_set_action_accelerator): + + Fix mem leak. + +2004-01-25 Christian Persch <chpe@cvs.gnome.org> + * src/ephy-session.c: (ephy_session_save): Fix mem leaks. 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 |