git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
52735a6
)
pack-bitmap.c: fix a memleak
author
Stefan Beller
<redacted>
Tue, 31 Mar 2015 01:22:10 +0000
(18:22 -0700)
committer
Junio C Hamano
<redacted>
Mon, 13 Apr 2015 04:45:27 +0000
(21:45 -0700)
Signed-off-by: Stefan Beller <redacted>
Signed-off-by: Junio C Hamano <redacted>
pack-bitmap.c
patch
|
blob
|
history
diff --git
a/pack-bitmap.c
b/pack-bitmap.c
index 6a818419ca46f8d66adbeb0027da49e6bab1bfa3..5e9adc234df93c8dfcf38535f39640f812f0cfe2 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,
git clone https://git.99rst.org/PROJECT