X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-mail-operation.c;h=6f7d2abd5050c8c30867f85735c6098e1dca53ff;hp=7c522bc9a111a50005bfe24bcfa7eafb343f8839;hb=5944929fea7239bff03a13ff76a663c3cbda0121;hpb=ef62c30f4a4cc3a76712fdd907b29c90cd2b9fa5 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 */