comparison 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
comparison
equal deleted inserted replaced
19672:e7849490acd9 19673:f22a6d0198c4
32 continue; 32 continue;
33 mail_index_map_lookup_seq_range(&map, first_uid, last_uid, &first_seq, &last_seq); 33 mail_index_map_lookup_seq_range(&map, first_uid, last_uid, &first_seq, &last_seq);
34 test_assert((first_uid+1)/2 == first_seq && last_uid/2 == last_seq); 34 test_assert((first_uid+1)/2 == first_seq && last_uid/2 == last_seq);
35 } 35 }
36 } 36 }
37 37 i_free(rec_map.records);
38 } 38 }
39 39
40 static void test_mail_index_map_lookup_seq_range(void) 40 static void test_mail_index_map_lookup_seq_range(void)
41 { 41 {
42 unsigned int i; 42 unsigned int i;