aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-11-10 21:25:51 +0800
committerChristian Persch <chpe@src.gnome.org>2004-11-10 21:25:51 +0800
commit7dcc6d4bb192250daf127584f544a2c6f44d17e9 (patch)
tree42fbae12b7a5a457b052c8ffd9c4122b8fb37cef /src
parent7c6b70e43fe00f85535daaa0e8766913a6bd3bca (diff)
downloadgsoc2013-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.
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-new-bookmark.c2
1 files changed, 2 insertions, 0 deletions
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"));