aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}