summaryrefslogtreecommitdiffstats
path: root/midx.c
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2023-12-14 23:23:45 +0100
committerJunio C Hamano <gitster@pobox.com>2023-12-14 23:38:07 +0100
commita96015a517060e5b69c6dd428f7276f1078ba507 (patch)
tree65fe7631cef1d2c4b14ccd6d0d946685cbcff72d /midx.c
parentpack-bitmap-write: deep-clear the `bb_commit` slab (diff)
downloadgit-a96015a517060e5b69c6dd428f7276f1078ba507.tar.xz
git-a96015a517060e5b69c6dd428f7276f1078ba507.zip
pack-bitmap: plug leak in find_objects()
The `find_objects()` function creates an object_list for any tips of the reachability query which do not have corresponding bitmaps. The object_list is not used outside of `find_objects()`, but we never free it with `object_list_free()`, resulting in a leak. Let's plug that leak by calling `object_list_free()`, which results in t6113 becoming leak-free. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'midx.c')
0 files changed, 0 insertions, 0 deletions