summaryrefslogtreecommitdiff
path: root/hashmap.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-06-05 12:00:22 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-06-05 12:00:22 -0700
commit06629901444888e5fa491c5f5f24ff03686af9a9 (patch)
treea0109671b6e4e52e8eb3a34d70eaa7b379b62ec6 /hashmap.c
parentMerge branch 'ja/tutorial-asciidoctor-fix' into maint (diff)
parentpack-bitmaps: plug memory leak, fix allocation size for recent_bitmaps (diff)
downloadtgif-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