builtin/repack: fix leaking keep-pack list
commit46f6ca2a68e02dd68132ed0b64cd55a8b6569e29
authorPatrick Steinhardt <ps@pks.im>
Thu, 5 Sep 2024 10:09:41 +0000 (5 12:09 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Sep 2024 15:49:13 +0000 (5 08:49 -0700)
treedfd6b00be5ebb8928da7ca9684b9962d029dad70
parented78f048ae369e9076689cca71ff99f2baa90cd2
builtin/repack: fix leaking keep-pack list

The list of packs to keep is populated via a command line option but
never free'd. Plug this memory leak.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/repack.c
t/t6500-gc.sh
t/t7703-repack-geometric.sh