aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/bookmarks/ephy-new-bookmark.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2444d53a8..83622797f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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"));