Skip to content

Commit

Permalink
Merge branch 'sb/test-bitmap-free-at-end' into maint
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 16, 2015
2 parents 6b2c0ea + d201a1e commit 2cd8ebd
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 2cd8ebd

Please sign in to comment.