Skip to content

Commit 071e93a

Browse files
committed
Merge branch 'sb/test-bitmap-free-at-end' into maint
* sb/test-bitmap-free-at-end: pack-bitmap.c: fix a memleak
2 parents 36ec67d + f86a374 commit 071e93a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pack-bitmap.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,8 @@ void test_bitmap_walk(struct rev_info *revs)
986986
fprintf(stderr, "OK!\n");
987987
else
988988
fprintf(stderr, "Mismatch!\n");
989+
990+
free(result);
989991
}
990992

991993
static int rebuild_bitmap(uint32_t *reposition,

0 commit comments

Comments
 (0)