Re: [PATCH 2/2] pack-bitmap: add free function

2018-06-09 Thread Jeff King
On Thu, Jun 07, 2018 at 12:04:14PM -0700, Jonathan Tan wrote: > Add a function to free struct bitmap_index instances, and use it where > needed (except when rebuild_existing_bitmaps() is used, since it creates > references to the bitmaps within the struct bitmap_index passed to it). > > Note

[PATCH 2/2] pack-bitmap: add free function

2018-06-07 Thread Jonathan Tan
Add a function to free struct bitmap_index instances, and use it where needed (except when rebuild_existing_bitmaps() is used, since it creates references to the bitmaps within the struct bitmap_index passed to it). Note that the hashes field in struct bitmap_index is not freed because it points