[evince] [shell] Fix memory leak
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evince] [shell] Fix memory leak
- Date: Fri, 6 Nov 2009 12:40:32 +0000 (UTC)
commit 513b95015950c889684a0741dfb2aea463c9d069
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Fri Nov 6 13:40:06 2009 +0100
[shell] Fix memory leak
shell/ev-window.c | 1 +
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."));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]