]> git.ipfire.org Git - thirdparty/git.git/commit
submodule: fix leaking fetch task data
authorPatrick Steinhardt <ps@pks.im>
Thu, 5 Sep 2024 10:08:53 +0000 (12:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Sep 2024 15:49:11 +0000 (08:49 -0700)
commit3eefd348e5865b0406d32194a157ae77d9a7939b
treef65599e328299448b05394423ec577126ea88839
parentac2e7d545efdc4ceeef8c1191bb276e86d793f29
submodule: fix leaking fetch task data

The `submodule_parallel_fetch` structure contains various data
structures that we use to set up parallel fetches of submodules. We do
not free some of its data though, causing memory leaks. Plug those.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.c
t/t5526-fetch-submodules.sh