Mercurial > dovecot > core-2.2
diff src/lib-storage/index/index-sort.c @ 7956:439636cce455 HEAD
Memory leak fixes.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 27 Jun 2008 08:10:54 +0300 |
parents | f431c67621ed |
children | 0a3b5ddb0869 |
line wrap: on
line diff
--- a/src/lib-storage/index/index-sort.c Thu Jun 26 21:37:31 2008 +0300 +++ b/src/lib-storage/index/index-sort.c Fri Jun 27 08:10:54 2008 +0300 @@ -235,6 +235,9 @@ struct mail_search_sort_program *program = *_program; *_program = NULL; + + if (program->context != NULL) + index_sort_list_finish(program); mail_free(&program->temp_mail); array_free(&program->seqs); i_free(program);