diff --git a/pack-bitmap.c b/pack-bitmap.c index e5abb8a046..2b3ff23797 100644 --- a/pack-bitmap.c +++ b/pack-bitmap.c @@ -985,7 +985,7 @@ void test_bitmap_walk(struct rev_info *revs) else fprintf(stderr, "Mismatch!\n"); - free(result); + bitmap_free(result); } static int rebuild_bitmap(uint32_t *reposition,