[evolution] Fix memleak introduced from patch for bug #674466



commit 992b9329c5b17b115767bf3291fb004255d76f6e
Author: Priit Laes <plaes plaes org>
Date:   Sun Apr 29 20:41:35 2012 +0300

    Fix memleak introduced from patch for bug #674466

 mail/e-mail-display.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index 96c7d97..d8ca523 100644
--- a/mail/e-mail-display.c
+++ b/mail/e-mail-display.c
@@ -391,6 +391,7 @@ mail_display_link_clicked (WebKitWebView *web_view,
 		if (g_file_test (filename, G_FILE_TEST_IS_DIR)) {
 			webkit_web_policy_decision_ignore (policy_decision);
 			webkit_network_request_set_uri (request, "about:blank");
+			g_free (filename);
 			return TRUE;
 		}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]