]> git.ipfire.org Git - thirdparty/git.git/commit
midx-write: fix leaking buffer
authorPatrick Steinhardt <ps@pks.im>
Mon, 30 Sep 2024 09:14:01 +0000 (11:14 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Sep 2024 18:23:07 +0000 (11:23 -0700)
commit9d4855eef3644ac00d62e08d797ff7db554ca65d
tree137bebed26b620aa0d80eb67b79ca47975fc9f4f
parent7f97266ee15d2a30dbc12c9a7f282a9f94b32476
midx-write: fix leaking buffer

The buffer used to compute the final MIDX name is never released. Plug
this memory leak.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
midx-write.c
t/t5334-incremental-multi-pack-index.sh