dovecot-2.0: doveadm mailbox status: Don't assert-crash at exit ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue May 10 17:55:45 EEST 2011
details: http://hg.dovecot.org/dovecot-2.0/rev/b74dfa49692b
changeset: 12787:b74dfa49692b
user: Timo Sirainen <tss at iki.fi>
date: Tue May 10 17:55:27 2011 +0300
description:
doveadm mailbox status: Don't assert-crash at exit if syncing a mailbox fails.
diffstat:
src/doveadm/doveadm-mail.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r a7f1980d250c -r b74dfa49692b src/doveadm/doveadm-mail.c
--- 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;
More information about the dovecot-cvs
mailing list