aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-07-16 16:01:06 +0800
committerDan Vrátil <dvratil@redhat.com>2012-07-17 16:47:13 +0800
commit360dd80e2575fb40c1328fef652dabfa111c704a (patch)
treeeae626e903ffcac2ea14ce434f46077dd533014f /em-format
parent3718b8c9133fa2072fb5ae07bac77962ad4f1ea5 (diff)
downloadgsoc2013-evolution-360dd80e2575fb40c1328fef652dabfa111c704a.tar
gsoc2013-evolution-360dd80e2575fb40c1328fef652dabfa111c704a.tar.gz
gsoc2013-evolution-360dd80e2575fb40c1328fef652dabfa111c704a.tar.bz2
gsoc2013-evolution-360dd80e2575fb40c1328fef652dabfa111c704a.tar.lz
gsoc2013-evolution-360dd80e2575fb40c1328fef652dabfa111c704a.tar.xz
gsoc2013-evolution-360dd80e2575fb40c1328fef652dabfa111c704a.tar.zst
gsoc2013-evolution-360dd80e2575fb40c1328fef652dabfa111c704a.zip
Fix a memory leak in EMailFormatterPrint
Diffstat (limited to 'em-format')
-rw-r--r--em-format/e-mail-formatter-print.c2
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 c97f2fd1fe..48c9706dd5 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);
}