Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sb/test-bitmap-free-at-end'
author
Junio C Hamano
<gitster@pobox.com>
Wed, 6 May 2015 04:00:28 +0000
(21:00 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 6 May 2015 04:00:28 +0000
(21:00 -0700)
* sb/test-bitmap-free-at-end:
pack-bitmap.c: fix a memleak
pack-bitmap.c
patch
|
blob
|
history
raw
(from parent 1:
a9d00b6
)
diff --git
a/pack-bitmap.c
b/pack-bitmap.c
index 365f9d92ed8b57c1e766a126b6e6571009eedde5..62a98cc119e3bf5a7b71e6b47143e06653ee9d6e 100644
(file)
--- 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,