Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
pack-bitmap.c: fix a memleak
author
Stefan Beller
<sbeller@google.com>
Tue, 31 Mar 2015 01:22:10 +0000
(18:22 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 13 Apr 2015 04:45:27 +0000
(21:45 -0700)
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-bitmap.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
52735a6
)
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,