X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-tny-msg.c;h=23f465f4df81b671e146e3bbc4aec3c05fa90bae;hb=4dc1719b3df5a026a74679d7ba6c7dc1fa05ae4d;hp=2732927b9961d23a02a885e89667577a4c32665e;hpb=dd182e8507c92a56f8e202f7766efc6227db8233;p=modest diff --git a/src/modest-tny-msg.c b/src/modest-tny-msg.c index 2732927..23f465f 100644 --- a/src/modest-tny-msg.c +++ b/src/modest-tny-msg.c @@ -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; }