diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-01-26 04:10:07 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-26 04:10:07 +0800 |
commit | 4ae1d220a740d44d6692440a223bdd1da5120ae0 (patch) | |
tree | 76fa25f6fbb3bc61675b3cf33db6eb4c4aa5c6b3 | |
parent | b333ebbeb7e8f981e7d9f397e185e78b5d57f523 (diff) | |
download | gsoc2013-epiphany-4ae1d220a740d44d6692440a223bdd1da5120ae0.tar gsoc2013-epiphany-4ae1d220a740d44d6692440a223bdd1da5120ae0.tar.gz gsoc2013-epiphany-4ae1d220a740d44d6692440a223bdd1da5120ae0.tar.bz2 gsoc2013-epiphany-4ae1d220a740d44d6692440a223bdd1da5120ae0.tar.lz gsoc2013-epiphany-4ae1d220a740d44d6692440a223bdd1da5120ae0.tar.xz gsoc2013-epiphany-4ae1d220a740d44d6692440a223bdd1da5120ae0.tar.zst gsoc2013-epiphany-4ae1d220a740d44d6692440a223bdd1da5120ae0.zip |
Fix mem leak.
2004-01-25 Christian Persch <chpe@cvs.gnome.org>
* src/window-commands.c: (window_cmd_file_print_preview):
Fix mem leak.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/window-commands.c | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -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); } |