* Partially fixes NB#87598
[modest] / src / modest-tny-msg.c
index 2732927..23f465f 100644 (file)
@@ -496,6 +496,7 @@ modest_tny_msg_find_body_part_from_mime_part (TnyMimePart *msg, gboolean want_ht
                        /* it's a message --> ignore */
                        if (part && TNY_IS_MSG (part)) {
                                g_object_unref (part);
+                               part = NULL;
                                tny_iterator_next (iter);
                                continue;
                        }