Mercurial > dovecot > core-2.2
diff src/lib-index/test-mail-index-map.c @ 19673:f22a6d0198c4
lib-index: Memory leak fix for test-mail-index-map
This failed when running make check with valgrind.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Thu, 28 Jan 2016 20:23:51 +0200 |
parents | 36e7280c42a5 |
children | 59437f8764c6 |
line wrap: on
line diff
--- a/src/lib-index/test-mail-index-map.c Thu Jan 28 20:16:31 2016 +0200 +++ b/src/lib-index/test-mail-index-map.c Thu Jan 28 20:23:51 2016 +0200 @@ -34,7 +34,7 @@ test_assert((first_uid+1)/2 == first_seq && last_uid/2 == last_seq); } } - + i_free(rec_map.records); } static void test_mail_index_map_lookup_seq_range(void)