Skip to content

Commit 3dc5ce0

Browse files
committed
Merge branch 'sb/test-bitmap-free-at-end'
An earlier leakfix to bitmap testing code was incomplete. * sb/test-bitmap-free-at-end: test_bitmap_walk: free bitmap with bitmap_free
2 parents a6be52e + d201a1e commit 3dc5ce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pack-bitmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ void test_bitmap_walk(struct rev_info *revs)
985985
else
986986
fprintf(stderr, "Mismatch!\n");
987987

988-
free(result);
988+
bitmap_free(result);
989989
}
990990

991991
static int rebuild_bitmap(uint32_t *reposition,

0 commit comments

Comments
 (0)