Mercurial > dovecot > core-2.2
changeset 13009:b74dfa49692b
doveadm mailbox status: Don't assert-crash at exit if syncing a mailbox fails.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 10 May 2011 17:55:27 +0300 |
parents | a7f1980d250c |
children | 15a0687ec9d0 |
files | src/doveadm/doveadm-mail.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/doveadm/doveadm-mail.c Tue May 10 17:46:50 2011 +0300 +++ b/src/doveadm/doveadm-mail.c Tue May 10 17:55:27 2011 +0300 @@ -110,6 +110,7 @@ i_error("Syncing mailbox %s failed: %s", mailbox, mail_storage_get_last_error(mailbox_get_storage(*box_r), NULL)); + mailbox_free(box_r); return -1; } return 0;