diff options
author | Stefan Beller <sbeller@google.com> | 2015-03-30 18:22:10 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-04-12 21:45:27 -0700 |
commit | f86a3747abc742359397e3050b1fbef297415de5 (patch) | |
tree | 238f1c211c58252c55e5ffb3fa0e16279467c79c /pack-bitmap.c | |
parent | 52735a689270bb1de94eb3de198594b36caed9bb (diff) | |
download | git-f86a3747abc742359397e3050b1fbef297415de5.tar.gz |
pack-bitmap.c: fix a memleak
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 6a818419ca..5e9adc234d 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, |