summaryrefslogtreecommitdiffstats
path: root/pack-bitmap.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-06-01 12:45:21 -0700
committerJunio C Hamano <gitster@pobox.com>2015-06-01 12:45:21 -0700
commit3dc5ce0a5686ede82b7ee20c895372f61a74f839 (patch)
treedbd9853810f591152b2744c6d2bbb4f988d399af /pack-bitmap.c
parentMerge branch 'mm/rebase-i-post-rewrite-exec' (diff)
parenttest_bitmap_walk: free bitmap with bitmap_free (diff)
downloadgit-3dc5ce0a5686ede82b7ee20c895372f61a74f839.tar.xz
git-3dc5ce0a5686ede82b7ee20c895372f61a74f839.zip
Merge branch 'sb/test-bitmap-free-at-end'
An earlier leakfix to bitmap testing code was incomplete. * sb/test-bitmap-free-at-end: test_bitmap_walk: free bitmap with bitmap_free
Diffstat (limited to 'pack-bitmap.c')
-rw-r--r--pack-bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack-bitmap.c b/pack-bitmap.c
index e5abb8a0460..2b3ff237974 100644
--- a/pack-bitmap.c
+++ b/pack-bitmap.c
@@ -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,