summaryrefslogtreecommitdiff
path: root/alloc.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2018-06-07 12:04:14 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-06-21 12:22:48 -0700
commitf3c23db2d7e764b247f7d76a8d0ba180811e9525 (patch)
treeda2cc54ff72aadae315b6a324678bbc9828c1763 /alloc.c
parentpack-bitmap: remove bitmap_git global variable (diff)
downloadtgif-f3c23db2d7e764b247f7d76a8d0ba180811e9525.tar.xz
pack-bitmap: add free function
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 to another field within the same struct. The documentation for that field has been updated to clarify that. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'alloc.c')
0 files changed, 0 insertions, 0 deletions