From 28f0cd15d250984655429a840bf478910db032f1 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Fri, 20 Mar 2009 09:35:36 +0000 Subject: [PATCH] Fixes RevNULL 2/14 pmo-trunk-r8229 --- src/modest-tny-msg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modest-tny-msg.c b/src/modest-tny-msg.c index 6063c63..b64155a 100644 --- a/src/modest-tny-msg.c +++ b/src/modest-tny-msg.c @@ -868,8 +868,7 @@ modest_tny_msg_create_reply_msg (TnyMsg *msg, g_list_foreach (attachments_list, (GFunc) g_object_unref, NULL); g_list_free (attachments_list); } - if (parts) - g_object_unref (G_OBJECT (parts)); + g_object_unref (parts); /* Fill the header */ if (header) -- 1.7.9.5