Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--shell/ev-window.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 707840d..d18d9ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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) {