Mercurial > dovecot > core-2.2
changeset 13123:6f43ee658efb
dsync: Crashfix
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 29 Jul 2011 13:41:04 +0300 |
parents | bbb023aa1efd |
children | 45e3d5be6ed8 |
files | src/dsync/dsync-worker-local.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dsync/dsync-worker-local.c Thu Jul 28 17:23:01 2011 +0300 +++ b/src/dsync/dsync-worker-local.c Fri Jul 29 13:41:04 2011 +0300 @@ -839,8 +839,6 @@ static void iter_local_mailbox_close(struct local_dsync_worker_msg_iter *iter) { - struct mailbox *box = iter->box; - iter->expunges_set = FALSE; if (mailbox_search_deinit(&iter->search_ctx) < 0) { i_error("msg search failed: %s", @@ -848,7 +846,7 @@ iter->iter.failed = TRUE; } (void)mailbox_transaction_commit(&iter->trans); - mailbox_free(&box); + mailbox_free(&iter->box); } static struct dsync_worker_msg_iter *