Removed an extra unref
authorSergio Villar Senin <svillar@igalia.com>
Tue, 1 Sep 2009 07:28:59 +0000 (09:28 +0200)
committerSergio Villar Senin <svillar@igalia.com>
Tue, 1 Sep 2009 09:42:59 +0000 (11:42 +0200)
src/modest-mail-operation.c

index aa1d1cd..90d1943 100644 (file)
@@ -1595,7 +1595,6 @@ update_account_get_msg_async_cb (TnyFolder *folder,
                /* Call the user callback and free */
                new_headers = tny_iterator_get_list (msg_info->more_msgs);
                update_account_notify_user_and_free (info, new_headers);
                /* Call the user callback and free */
                new_headers = tny_iterator_get_list (msg_info->more_msgs);
                update_account_notify_user_and_free (info, new_headers);
-               g_object_unref (new_headers);
 
                /* Delete the helper */
                g_object_unref (msg_info->more_msgs);
 
                /* Delete the helper */
                g_object_unref (msg_info->more_msgs);