diff options
author | Hiroyuki Ikezoe <poincare@ikezoe.net> | 2007-10-27 16:48:09 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2007-10-27 16:48:09 (GMT) |
commit | 79caba8ac19df7d4d788d36e03b9304a023b965e (patch) | |
tree | 13115c31a87169a648c41db939ee00a484a66c06 | |
parent | eb6f1cf1c18ec69619fdc576d43819bf03e0c80a (diff) |
Plugged memory leak when help file is not found. Fixes bug #490762.
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.
svn path=/trunk/; revision=2725
-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) { |