]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/pack-redundant: fix various memory leaks
authorPatrick Steinhardt <ps@pks.im>
Mon, 30 Sep 2024 09:13:32 +0000 (11:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Sep 2024 18:23:04 +0000 (11:23 -0700)
commita0f2a2f5813596053cf785302b2bbfa76cbd9783
treefc49e151c1ff81af5be62b13838f611a8148a6b1
parent64fe1e4a8c8731919b0bb26f6e8b9f8a0f4b0477
builtin/pack-redundant: fix various memory leaks

There are various different memory leaks in git-pack-redundant(1),
mostly caused by not even trying to free allocated memory. Fix them.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-redundant.c
t/t5323-pack-redundant.sh