Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorHiroyuki 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)
commit79caba8ac19df7d4d788d36e03b9304a023b965e (patch)
tree13115c31a87169a648c41db939ee00a484a66c06 /shell
parenteb6f1cf1c18ec69619fdc576d43819bf03e0c80a (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
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c2
1 files changed, 2 insertions, 0 deletions
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) {