From 5944929fea7239bff03a13ff76a663c3cbda0121 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Wed, 12 Mar 2008 14:04:34 +0000 Subject: [PATCH] * src/modest-mail-operation.c (modest_mail_operation_get_msgs_full): Fix memory leak Fixes NB#80198 pmo-trunk-r4301 --- src/modest-mail-operation.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modest-mail-operation.c b/src/modest-mail-operation.c index 7c522bc..6f7d2ab 100644 --- a/src/modest-mail-operation.c +++ b/src/modest-mail-operation.c @@ -2271,6 +2271,7 @@ modest_mail_operation_get_msgs_full (ModestMailOperation *self, has_uncached_messages = TRUE; g_object_unref (header); } + g_object_unref (iter); priv->op_type = has_uncached_messages?MODEST_MAIL_OPERATION_TYPE_RECEIVE:MODEST_MAIL_OPERATION_TYPE_OPEN; /* Get account and set it into mail_operation */ -- 1.7.9.5