]> git.99rst.org Git - git.git/commit
t/helper: fix leaking subrepo in nested submodule config helper
authorPatrick Steinhardt <redacted>
Thu, 26 Sep 2024 11:46:18 +0000 (13:46 +0200)
committerJunio C Hamano <redacted>
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/helper/test-submodule-nested-repo-config.c
t/t7411-submodule-config.sh
git clone https://git.99rst.org/PROJECT