From f86a3747abc742359397e3050b1fbef297415de5 Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Mon, 30 Mar 2015 18:22:10 -0700 Subject: pack-bitmap.c: fix a memleak Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano --- pack-bitmap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pack-bitmap.c b/pack-bitmap.c index 6a818419ca..5e9adc234d 100644 --- a/pack-bitmap.c +++ b/pack-bitmap.c @@ -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, -- cgit v1.2.3