From 1eb27f2c5c6bf12d0fadfcc8353487671b0415e3 Mon Sep 17 00:00:00 2001 From: Bharath Acharya Date: Thu, 11 Feb 2010 15:48:58 +0530 Subject: [PATCH] BUG 606811 - evolution crashed in match_content_type at camel-folder-summary.c:5066 Avoids the crash. Regression because of http://git.gnome.org/browse/evolution/commit/?id=6a72dacb7db51cd0f6b84e9aefd248677c0ff4e0 --- camel/camel-folder-summary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c index 90a10e4..96574a7 100644 --- a/camel/camel-folder-summary.c +++ b/camel/camel-folder-summary.c @@ -5085,7 +5085,7 @@ camel_folder_summary_guess_content_info (CamelMessageInfo *mi, CamelContentType const CamelMessageContentInfo *child = ci; do { - if (match_content_type (child->type, ctype)) + if (child->type && match_content_type (child->type, ctype)) return child; child = child->next; -- 2.7.4