diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-05-05 21:00:28 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-05 21:00:28 -0700 |
commit | b9032b284fb46f3e4994e6dc3cbb0c4993cdd3fb (patch) | |
tree | 9aa152a294d5276859bfa6cf3da027aedaacaf29 /pack-bitmap.c | |
parent | a9d00b662f0fdb88434b85d2bd55ebfee227e0d7 (diff) | |
parent | f86a3747abc742359397e3050b1fbef297415de5 (diff) | |
download | git-b9032b284fb46f3e4994e6dc3cbb0c4993cdd3fb.tar.gz |
Merge branch 'sb/test-bitmap-free-at-end'
* sb/test-bitmap-free-at-end:
pack-bitmap.c: fix a memleak
Diffstat (limited to 'pack-bitmap.c')
-rw-r--r-- | pack-bitmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pack-bitmap.c b/pack-bitmap.c index 365f9d92ed..62a98cc119 100644 --- a/pack-bitmap.c +++ b/pack-bitmap.c @@ -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, |