Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2009-11-06 12:40:06 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-11-06 12:40:06 (GMT)
commit513b95015950c889684a0741dfb2aea463c9d069 (patch)
tree029eba2600f8b63ac68bee5072fa518e1a7ba686 /shell
parentc93a4600cd131defae675a19604990cb4dc32cb3 (diff)
[shell] Fix memory leak
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 54be8b7..bbf2f24 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -1722,6 +1722,7 @@ ev_window_load_file_remote (EvWindow *ev_window,
g_free (base_name);
tmp_file = ev_mkstemp_file (template, &err);
+ g_free (template);
if (tmp_file == NULL) {
ev_window_error_message (ev_window, err,
"%s", _("Failed to load remote file."));