From 9522b556a238d03c4cca6bb77c3736e4b4a5b9d3 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 25 Oct 2001 01:09:02 +0000 Subject: oops, minor fixity fix. svn path=/trunk/; revision=14082 --- mail/mail-format.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mail/mail-format.c b/mail/mail-format.c index 9b9dffb4fa..5918c7ad6b 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -2269,9 +2269,12 @@ mail_get_message_body (CamelDataWrapper *data, gboolean want_plain, gboolean cit if (header_content_type_is (mime_type, "text", "*") || header_content_type_is (mime_type, "message", "*")) { bytes = mail_format_get_data_wrapper_text (data, NULL); - g_byte_array_append (bytes, "", 1); - text = bytes->data; - g_byte_array_free (bytes, FALSE); + + if (bytes) { + g_byte_array_append (bytes, "", 1); + text = bytes->data; + g_byte_array_free (bytes, FALSE); + } if (text && !header_content_type_is (mime_type, "text", "html")) { char *html; -- cgit v1.2.3