]> git.99rst.org Git - git.git/commit
test-tool path-utils: fix a memory leak
authorÆvar Arnfjörð Bjarmason <redacted>
Fri, 1 Jul 2022 10:37:33 +0000 (12:37 +0200)
committerJunio C Hamano <redacted>
Fri, 1 Jul 2022 20:38:49 +0000 (13:38 -0700)
commite287a5b0a434e05de39ede507e5b3fc24f67cbb0
tree0ecf887404c2c0314f87aca4a6c7c0f7a660baf2
parent330ca8501b6b4cb7afec20dc0b9513542118e9de
test-tool path-utils: fix a memory leak

Fix a memory leak in "test-tool path-utils", as a result we can mark
the corresponding test as passing with SANITIZE=leak using
"TEST_PASSES_SANITIZE_LEAK=true".

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/helper/test-path-utils.c
t/t0060-path-utils.sh
git clone https://git.99rst.org/PROJECT