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
* sb/test-bitmap-free-at-end:
  pack-bitmap.c: fix a memleak
  • Loading branch information
Junio C Hamano committed May 13, 2015
2 parents 36ec67d + f86a374 commit 071e93a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pack-bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -986,6 +986,8 @@ void test_bitmap_walk(struct rev_info *revs)
fprintf(stderr, "OK!\n");
else
fprintf(stderr, "Mismatch!\n");

free(result);
}

static int rebuild_bitmap(uint32_t *reposition,
Expand Down

0 comments on commit 071e93a

Please sign in to comment.