[evolution/webkit: 155/196] Fix two minor memory leaks
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit: 155/196] Fix two minor memory leaks
- Date: Tue, 27 Mar 2012 16:13:45 +0000 (UTC)
commit 88d2308a23e0c7fab8378543296861c8ca790c9f
Author: Dan VrÃtil <dvratil redhat com>
Date: Tue Feb 14 15:55:35 2012 +0100
Fix two minor memory leaks
mail/e-mail-display.c | 2 ++
mail/em-format-html-display.c | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index 328a0ec..444150b 100644
--- a/mail/e-mail-display.c
+++ b/mail/e-mail-display.c
@@ -1080,6 +1080,8 @@ e_mail_display_load (EMailDisplay *display,
NULL);
e_web_view_load_uri (E_WEB_VIEW (display), uri);
+
+ g_free (uri);
}
void
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index 2bfe15f..1adbea1 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -751,6 +751,7 @@ efhd_write_attachment (EMFormat *emf,
camel_stream_write_string (stream, str, cancellable, NULL);
g_free (desc);
g_free (button_id);
+ g_free (str);
/* If we know how to write the attachment, then do it */
if (efa->handle && efa->handle->write_func) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]