aboutsummaryrefslogtreecommitdiffstats
path: root/t/t7412-submodule-absorbgitdirs.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-09-14 12:56:40 -0700
committerJunio C Hamano <gitster@pobox.com>2022-09-14 12:56:40 -0700
commitb563638d2cf5d02af72447495a4d4173c6d1cd33 (patch)
tree36bdc1b597f30e3d3f5f04c75511b4036e9886c3 /t/t7412-submodule-absorbgitdirs.sh
parent7a54d740451c1438b4db009bf2ebe1669c280ef8 (diff)
parentfe4c750fb13ca1c721e2de2bef80ce581c8b3f64 (diff)
downloadgit-b563638d2cf5d02af72447495a4d4173c6d1cd33.tar.gz
Merge branch 'ab/submodule-helper-leakfix'
Plugging leaks in submodule--helper. * ab/submodule-helper-leakfix: submodule--helper: fix a configure_added_submodule() leak submodule--helper: free rest of "displaypath" in "struct update_data" submodule--helper: free some "displaypath" in "struct update_data" submodule--helper: fix a memory leak in print_status() submodule--helper: fix a leak in module_add() submodule--helper: fix obscure leak in module_add() submodule--helper: fix "reference" leak submodule--helper: fix a memory leak in get_default_remote_submodule() submodule--helper: fix a leak with repo_clear() submodule--helper: fix "sm_path" and other "module_cb_list" leaks submodule--helper: fix "errmsg_str" memory leak submodule--helper: add and use *_release() functions submodule--helper: don't leak {run,capture}_command() cp.dir argument submodule--helper: "struct pathspec" memory leak in module_update() submodule--helper: fix most "struct pathspec" memory leaks submodule--helper: fix trivial get_default_remote_submodule() leak submodule--helper: fix a leak in "clone_submodule"
Diffstat (limited to 't/t7412-submodule-absorbgitdirs.sh')
-rwxr-xr-xt/t7412-submodule-absorbgitdirs.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t7412-submodule-absorbgitdirs.sh b/t/t7412-submodule-absorbgitdirs.sh
index 1cfa150768..2859695c6d 100755
--- a/t/t7412-submodule-absorbgitdirs.sh
+++ b/t/t7412-submodule-absorbgitdirs.sh
@@ -6,6 +6,7 @@ This test verifies that `git submodue absorbgitdirs` moves a submodules git
directory into the superproject.
'
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
test_expect_success 'setup a real submodule' '