Skip to content

Commit b9032b2

Browse files
committed
Merge branch 'sb/test-bitmap-free-at-end'
* sb/test-bitmap-free-at-end: pack-bitmap.c: fix a memleak
2 parents a9d00b6 + f86a374 commit b9032b2

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)