aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-10-05 20:48:27 +0800
committerMilan Crha <mcrha@redhat.com>2010-10-05 20:49:35 +0800
commit5268a864f28f3c0a8723827f178f5441fd9edac5 (patch)
treef01f29e9e6bff9bd876ada9234a05d516b26659a
parentd00c445e8ed4ec4e11f2bfa6025cf812ebceae33 (diff)
downloadgsoc2013-evolution-5268a864f28f3c0a8723827f178f5441fd9edac5.tar.gz
gsoc2013-evolution-5268a864f28f3c0a8723827f178f5441fd9edac5.tar.zst
gsoc2013-evolution-5268a864f28f3c0a8723827f178f5441fd9edac5.zip
Bug #500591 - Crash when viewing a large message
-rw-r--r--mail/em-format-html-display.c2
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;