/* 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);
NULL, msg_info);
g_object_unref (folder);
+ g_object_unref (header);
msg_num++;
tny_iterator_next (iter);
}
g_object_unref (iter);
+ g_object_unref (new_headers);
/* The mail operation will finish when the last
message is retrieved */