dovecot-2.0: doveadm dump index: Fixed assert-crash.

dovecot at dovecot.org dovecot at dovecot.org
Tue Feb 9 18:05:45 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/3712e2dcc856
changeset: 10679:3712e2dcc856
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Feb 09 18:05:41 2010 +0200
description:
doveadm dump index: Fixed assert-crash.

diffstat:

1 file changed, 1 insertion(+)
src/doveadm/doveadm-dump-index.c |    1 +

diffs (11 lines):

diff -r 9740c4858a57 -r 3712e2dcc856 src/doveadm/doveadm-dump-index.c
--- a/src/doveadm/doveadm-dump-index.c	Tue Feb 09 17:35:14 2010 +0200
+++ b/src/doveadm/doveadm-dump-index.c	Tue Feb 09 18:05:41 2010 +0200
@@ -562,6 +562,7 @@ static bool test_dump_index(const char *
 
 	ret = mail_index_open(index, MAIL_INDEX_OPEN_FLAG_READONLY,
 			      FILE_LOCK_METHOD_FCNTL) > 0;
+	mail_index_close(index);
 	mail_index_free(&index);
 	return ret;
 }


More information about the dovecot-cvs mailing list