aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-08-31 03:16:02 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-08-31 03:16:02 +0800
commitc59635b5a94243cd1e133a8d83f42edccaca1410 (patch)
treeeb5723e39b48448ada34a20784e78700b6b6abcc /mail/mail-format.c
parentd53fdf3ae9d8c67f676475fe4480188df4045320 (diff)
downloadgsoc2013-evolution-c59635b5a94243cd1e133a8d83f42edccaca1410.tar.gz
gsoc2013-evolution-c59635b5a94243cd1e133a8d83f42edccaca1410.tar.zst
gsoc2013-evolution-c59635b5a94243cd1e133a8d83f42edccaca1410.zip
Fixed a memory leak. (message_browser_new): Added a comment as to why ,
2001-08-30 Jeffrey Stedfast <fejj@ximian.com> * message-browser.c (message_browser_message_loaded): Fixed a memory leak. (message_browser_new): Added a comment as to why , after reparenting, we do not unref the mail_display. (message_browser_destroy): Don't call gtk_widget_destroy() on the message_list here. svn path=/trunk/; revision=12531
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index e4add90158..aaf8ec84f6 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -1838,10 +1838,10 @@ handle_multipart_signed (CamelMimePart *part, const char *mime_type,
camel_exception_free (ex);
- /* now display all the subparts *except* the signature (last part) */
+ /* now display all the subparts (there should be only 1) *except* the signature (last part) */
mp = CAMEL_MULTIPART (wrapper);
- nparts = camel_multipart_get_number (mp);
+ nparts = camel_multipart_get_number (mp);
for (i = 0; i < nparts - 1; i++) {
if (i != 0 && output)
mail_html_write (md->html, md->stream,