diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-11-10 21:25:51 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-11-10 21:25:51 +0800 |
commit | 7dcc6d4bb192250daf127584f544a2c6f44d17e9 (patch) | |
tree | 42fbae12b7a5a457b052c8ffd9c4122b8fb37cef | |
parent | 7c6b70e43fe00f85535daaa0e8766913a6bd3bca (diff) | |
download | gsoc2013-epiphany-7dcc6d4bb192250daf127584f544a2c6f44d17e9.tar gsoc2013-epiphany-7dcc6d4bb192250daf127584f544a2c6f44d17e9.tar.gz gsoc2013-epiphany-7dcc6d4bb192250daf127584f544a2c6f44d17e9.tar.bz2 gsoc2013-epiphany-7dcc6d4bb192250daf127584f544a2c6f44d17e9.tar.lz gsoc2013-epiphany-7dcc6d4bb192250daf127584f544a2c6f44d17e9.tar.xz gsoc2013-epiphany-7dcc6d4bb192250daf127584f544a2c6f44d17e9.tar.zst gsoc2013-epiphany-7dcc6d4bb192250daf127584f544a2c6f44d17e9.zip |
Fix 2 mem leaks; thanks to Xan for noticing them.
2004-11-09 Christian Persch <chpe@cvs.gnome.org>
* src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct):
Fix 2 mem leaks; thanks to Xan for noticing them.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/bookmarks/ephy-new-bookmark.c | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2004-11-09 Christian Persch <chpe@cvs.gnome.org> + * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): + + Fix 2 mem leaks; thanks to Xan for noticing them. + +2004-11-09 Christian Persch <chpe@cvs.gnome.org> + * lib/ephy-gui.c: (ephy_gui_menu_position_tree_selection): Better positioning for the context menu popup in a treeview. diff --git a/src/bookmarks/ephy-new-bookmark.c b/src/bookmarks/ephy-new-bookmark.c index ad65f9a25..825a4562b 100644 --- a/src/bookmarks/ephy-new-bookmark.c +++ b/src/bookmarks/ephy-new-bookmark.c @@ -315,6 +315,8 @@ duplicate_dialog_construct (GtkWindow *parent, (GTK_WINDOW (parent), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, NULL); gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (dialog), str); + g_free (tmp_title); + g_free (tmp_str); g_free (str); gtk_window_set_title (GTK_WINDOW (dialog), _("Duplicated Bookmark")); |