diff options
-rw-r--r-- | mail/em-format-html.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c index ae2782d568..35fca48c81 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -1927,6 +1927,8 @@ efh_text_plain (EMFormat *emf, flags = efh->text_html_flags; dw = camel_medium_get_content ((CamelMedium *) part); + if (!dw) + return; /* Check for RFC 2646 flowed text. */ if (camel_content_type_is(dw->mime_type, "text", "plain") |