diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | shell/ev-window.c | 2 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2007-10-27 Hiroyuki Ikezoe <poincare@ikezoe.net> + + * shell/ev-window.c: (ev_window_cmd_help_contents): + + Plugged memory leak when help file is not found. Fixes bug + #490762. + 2007-10-26 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: diff --git a/shell/ev-window.c b/shell/ev-window.c index 94477dc..96200fc 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -3259,6 +3259,8 @@ ev_window_cmd_help_contents (GtkAction *action, EvWindow *ev_window) if (g_file_test (uri, G_FILE_TEST_EXISTS)) { break; } + g_free (uri); + uri = NULL; } if (uri == NULL) { |