X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-msg.c;h=6e77d81cffa3e87b5deccde4c4d5254bd5083f7c;hp=a16c9a99eb6a26b475dddeb9edcc3d8b58a74c71;hb=01583e1fe0d3f591eef4b65573eb7b720e72edf8;hpb=ec943f1252d0c9ae068515bd414fe532c9fc5d32 diff --git a/src/modest-tny-msg.c b/src/modest-tny-msg.c index a16c9a9..6e77d81 100644 --- a/src/modest-tny-msg.c +++ b/src/modest-tny-msg.c @@ -331,6 +331,7 @@ add_images (TnyMsg *msg, GList *images_list) if (related_part != NULL) { /* TODO: attach images in their proper place */ add_attachments (related_part, images_list, TRUE); + g_object_unref (related_part); } }