Skip to content

Commit

Permalink
pack-bitmap.c: fix a memleak
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Stefan Beller authored and Junio C Hamano committed Apr 13, 2015
1 parent 52735a6 commit f86a374
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 f86a374

Please sign in to comment.