dovecot-2.0: Assert-crashfix when updating saved search results.

dovecot at dovecot.org dovecot at dovecot.org
Tue Sep 29 01:26:14 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/dac192bbd97f
changeset: 9944:dac192bbd97f
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Sep 28 18:25:56 2009 -0400
description:
Assert-crashfix when updating saved search results.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/index-search-result.c |    2 +-

diffs (13 lines):

diff -r 92463a3c3af4 -r dac192bbd97f src/lib-storage/index/index-search-result.c
--- a/src/lib-storage/index/index-search-result.c	Mon Sep 28 18:25:22 2009 -0400
+++ b/src/lib-storage/index/index-search-result.c	Mon Sep 28 18:25:56 2009 -0400
@@ -98,8 +98,8 @@ search_result_update_search(struct mail_
 		mailbox_search_result_add(result, mail->uid);
 	}
 	mail_free(&mail);
+	mail_search_args_deinit(result->search_args);
 	ret = mailbox_search_deinit(&search_ctx);
-	mail_search_args_deinit(result->search_args);
 
 	if (next_uid != 0 && ret == 0) {
 		/* last message(s) didn't match. make sure they don't exist


More information about the dovecot-cvs mailing list