aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-10-05 20:48:59 +0800
committerMilan Crha <mcrha@redhat.com>2010-10-05 20:48:59 +0800
commite831407a0eaa306ced92958a0bb5c5147107aa64 (patch)
treedb83588d1e8d5e8ea401d8ea740c754f6b47ce13
parent36abdbd529d064ace5a60b3cbfc16bcf6fb0997f (diff)
downloadgsoc2013-evolution-e831407a0eaa306ced92958a0bb5c5147107aa64.tar
gsoc2013-evolution-e831407a0eaa306ced92958a0bb5c5147107aa64.tar.gz
gsoc2013-evolution-e831407a0eaa306ced92958a0bb5c5147107aa64.tar.bz2
gsoc2013-evolution-e831407a0eaa306ced92958a0bb5c5147107aa64.tar.lz
gsoc2013-evolution-e831407a0eaa306ced92958a0bb5c5147107aa64.tar.xz
gsoc2013-evolution-e831407a0eaa306ced92958a0bb5c5147107aa64.tar.zst
gsoc2013-evolution-e831407a0eaa306ced92958a0bb5c5147107aa64.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 04ebb4265c..e68777aaa4 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -482,7 +482,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;