summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-10-25 16:06:56 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-25 16:06:56 -0700
commitbfa646c2cbad55cf652344415616eadc9e20f3c4 (patch)
tree6eca71a7a1f8939f77df27b83bb5a0b85fa887b9 /t
parentMerge branch 'jh/perf-remove-test-times' (diff)
parentsequencer: fix a memory leak in do_reset() (diff)
downloadtgif-bfa646c2cbad55cf652344415616eadc9e20f3c4.tar.xz
Merge branch 'ab/unpack-trees-leakfix'
Leakfix. * ab/unpack-trees-leakfix: sequencer: fix a memory leak in do_reset() sequencer: add a "goto cleanup" to do_reset() unpack-trees: don't leak memory in verify_clean_subdirectory()
Diffstat (limited to 't')
-rwxr-xr-xt/t1001-read-tree-m-2way.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t1001-read-tree-m-2way.sh b/t/t1001-read-tree-m-2way.sh
index 1057a96b24..d1115528cb 100755
--- a/t/t1001-read-tree-m-2way.sh
+++ b/t/t1001-read-tree-m-2way.sh
@@ -20,6 +20,8 @@ In the test, these paths are used:
rezrov - in H, deleted in M
yomin - not in H or M
'
+
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
. "$TEST_DIRECTORY"/lib-read-tree.sh