]> git.ipfire.org Git - thirdparty/git.git/commit
t/helper: fix leaking subrepo in nested submodule config helper
authorPatrick Steinhardt <ps@pks.im>
Thu, 26 Sep 2024 11:46:18 +0000 (13:46 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Sep 2024 15:25:35 +0000 (08:25 -0700)
commitf1652c04b5da814a6bd15873a0a0323bf58badcf
tree4a615268a9f144085faff7cd499cedea8833e4d2
parent2266bb4f6a8a876b57eaa04dc93f7b567e0e4eed
t/helper: fix leaking subrepo in nested submodule config helper

In the "submodule-nested-repo-config" helper we create a submodule
repository and print its configuration. We do not clear the repo,
causing a memory leak. Plug it.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-submodule-nested-repo-config.c
t/t7411-submodule-config.sh