aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/window-commands.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e04eebd18..2386e7736 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-01-25 Christian Persch <chpe@cvs.gnome.org>
+ * src/window-commands.c: (window_cmd_file_print_preview):
+
+ Fix mem leak.
+
+2004-01-25 Christian Persch <chpe@cvs.gnome.org>
+
* src/ephy-history-window.c: (get_details_value):
Fix mem leak.
diff --git a/src/window-commands.c b/src/window-commands.c
index 8ab797c55..42ce69a24 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -95,6 +95,8 @@ window_cmd_file_print_preview (GtkAction *action,
ephy_embed_print (embed, info);
+ ephy_print_info_free (info);
+
ephy_window_set_print_preview (window, TRUE);
}