[evolution] Fix a memory leak in EMailFormatterPrint
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Fix a memory leak in EMailFormatterPrint
- Date: Tue, 17 Jul 2012 08:48:16 +0000 (UTC)
commit 360dd80e2575fb40c1328fef652dabfa111c704a
Author: Dan VrÃtil <dvratil redhat com>
Date: Mon Jul 16 10:01:06 2012 +0200
Fix a memory leak in EMailFormatterPrint
em-format/e-mail-formatter-print.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/em-format/e-mail-formatter-print.c b/em-format/e-mail-formatter-print.c
index c97f2fd..48c9706 100644
--- a/em-format/e-mail-formatter-print.c
+++ b/em-format/e-mail-formatter-print.c
@@ -159,6 +159,8 @@ mail_formatter_print_run (EMailFormatter *formatter,
write_attachments_list (formatter, context, attachments, stream, cancellable);
+ g_slist_free (attachments);
+
camel_stream_write_string (stream, "</body></html>", cancellable, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]