* Partially fixes NB#87598
authorSergio Villar Senin <svillar@igalia.com>
Mon, 18 Aug 2008 16:45:34 +0000 (16:45 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Mon, 18 Aug 2008 16:45:34 +0000 (16:45 +0000)
pmo-trunk-r5317

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;
                        }