pack-bitmap.c: fix a memleak

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Stefan Beller 2015-03-30 18:22:10 -07:00 committed by Junio C Hamano
parent 52735a6892
commit f86a3747ab

View file

@ -986,6 +986,8 @@ void test_bitmap_walk(struct rev_info *revs)
fprintf(stderr, "OK!\n");
else
fprintf(stderr, "Mismatch!\n");
free(result);
}
static int rebuild_bitmap(uint32_t *reposition,