diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-06-05 12:00:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-05 12:00:22 -0700 |
commit | 06629901444888e5fa491c5f5f24ff03686af9a9 (patch) | |
tree | a0109671b6e4e52e8eb3a34d70eaa7b379b62ec6 /hashmap.c | |
parent | Merge branch 'ja/tutorial-asciidoctor-fix' into maint (diff) | |
parent | pack-bitmaps: plug memory leak, fix allocation size for recent_bitmaps (diff) | |
download | tgif-06629901444888e5fa491c5f5f24ff03686af9a9.tar.xz |
Merge branch 'rs/plug-leak-in-pack-bitmaps' into maint
The code to read pack-bitmap wanted to allocate a few hundred
pointers to a structure, but by mistake allocated and leaked memory
enough to hold that many actual structures. Correct the allocation
size and also have it on stack, as it is small enough.
* rs/plug-leak-in-pack-bitmaps:
pack-bitmaps: plug memory leak, fix allocation size for recent_bitmaps
Diffstat (limited to 'hashmap.c')
0 files changed, 0 insertions, 0 deletions