changeset 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 e7849490acd9
children fc0219628b49
files src/lib-index/test-mail-index-map.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)