summaryrefslogtreecommitdiff
path: root/ls-refs.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2021-09-24 08:10:10 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-24 09:22:46 -0700
commit8c6b4332b47792947f29d3abd729b8290add96fd (patch)
treec06eb98d09562a6f55249f0bcc318f4615f69268 /ls-refs.c
parentGit 2.31.1 (diff)
downloadtgif-8c6b4332b47792947f29d3abd729b8290add96fd.tar.xz
packfile: release bad_objects in close_pack()
Unusable entries of a damaged pack file are recorded in the oidset bad_objects. Release it when we're done with the pack. This doesn't affect intact packs because an empty oidset requires no allocation. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ls-refs.c')
0 files changed, 0 insertions, 0 deletions