Skip to content

Commit

Permalink
Merge branch 'sb/test-bitmap-free-at-end'
Browse files Browse the repository at this point in the history
An earlier leakfix to bitmap testing code was incomplete.

* sb/test-bitmap-free-at-end:
  test_bitmap_walk: free bitmap with bitmap_free
  • Loading branch information
Junio C Hamano committed Jun 1, 2015
2 parents a6be52e + d201a1e commit 3dc5ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pack-bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3dc5ce0

Please sign in to comment.