diff options
-rw-r--r-- | mail/em-format-html-display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c index d3cb27a65c..e2f6e90a92 100644 --- a/mail/em-format-html-display.c +++ b/mail/em-format-html-display.c @@ -493,7 +493,7 @@ efhd_format_optional (EMFormat *emf, info->snoop_mime_type = "text/plain"; info->attachment = e_attachment_new (); e_attachment_set_mime_part (info->attachment, info->puri.part); - info->mstream = (CamelStreamMem *) mstream; + info->mstream = (CamelStreamMem *) g_object_ref (mstream); if (emf->valid) { info->sign = emf->valid->sign.status; info->encrypt = emf->valid->encrypt.status; |