summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-06-16 21:33:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-06-16 21:33:47 (GMT)
commit2cd8ebdd3d28359b7886d994e84a8725394935e7 (patch)
treecef784bfb4e8e956d6c6a79b3b11d43c4192c146
parent6b2c0ead061b1bb9ce8e4b539da495ea0ef057b5 (diff)
parentd201a1ecdb1231a349d696a2252b7209ef7be103 (diff)
downloadgit-2cd8ebdd3d28359b7886d994e84a8725394935e7.zip
git-2cd8ebdd3d28359b7886d994e84a8725394935e7.tar.gz
git-2cd8ebdd3d28359b7886d994e84a8725394935e7.tar.bz2
Merge branch 'sb/test-bitmap-free-at-end' into maint
An earlier leakfix to bitmap testing code was incomplete. * sb/test-bitmap-free-at-end: test_bitmap_walk: free bitmap with bitmap_free
-rw-r--r--pack-bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack-bitmap.c b/pack-bitmap.c
index e5abb8a..2b3ff23 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,