[evolution] Bug #500591 - Crash when viewing a large message



commit 5268a864f28f3c0a8723827f178f5441fd9edac5
Author: Milan Crha <mcrha redhat com>
Date:   Tue Oct 5 14:48:27 2010 +0200

    Bug #500591 - Crash when viewing a large message

 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 d3cb27a..e2f6e90 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]