From 01583e1fe0d3f591eef4b65573eb7b720e72edf8 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Fri, 14 Dec 2007 11:16:56 +0000 Subject: [PATCH] modest-tny-msg: fixed leak in add_images() pmo-trunk-r3916 --- src/modest-tny-msg.c | 1 + 1 file changed, 1 insertion(+) 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); } } -- 1.7.9.5