Browse Source
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_bitmapsmaint
Junio C Hamano
10 years ago
1 changed files with 3 additions and 5 deletions
Loading…
Reference in new issue