dovecot-2.2: lib-storage: Fixed crash with mailbox_list_index=ye...

dovecot at dovecot.org dovecot at dovecot.org
Tue Apr 23 21:06:10 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/d3d380221043
changeset: 16316:d3d380221043
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Apr 23 21:06:00 2013 +0300
description:
lib-storage: Fixed crash with mailbox_list_index=yes after re-reading index.

diffstat:

 src/lib-storage/list/mailbox-list-index.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r ba63c27667ff -r d3d380221043 src/lib-storage/list/mailbox-list-index.c
--- a/src/lib-storage/list/mailbox-list-index.c	Tue Apr 23 20:53:53 2013 +0300
+++ b/src/lib-storage/list/mailbox-list-index.c	Tue Apr 23 21:06:00 2013 +0300
@@ -27,8 +27,8 @@
 {
 	i_assert(ilist->iter_refcount == 0);
 
-	hash_table_clear(ilist->mailbox_names, FALSE);
-	hash_table_clear(ilist->mailbox_hash, FALSE);
+	hash_table_clear(ilist->mailbox_names, TRUE);
+	hash_table_clear(ilist->mailbox_hash, TRUE);
 	p_clear(ilist->mailbox_pool);
 	ilist->mailbox_tree = NULL;
 	ilist->highest_name_id = 0;


More information about the dovecot-cvs mailing list