diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-11-20 14:39:36 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-11-21 00:23:42 +0100 |
commit | c1e98f90103e8d98ef441ce8f609cf3bc8fa538b (patch) | |
tree | 97b4284234d8ed49bb2cf41ec757cbbaf1a46c9b /t | |
parent | bisect: fix leaking commit list items in `check_merge_base()` (diff) | |
download | git-c1e98f90103e8d98ef441ce8f609cf3bc8fa538b.tar.xz git-c1e98f90103e8d98ef441ce8f609cf3bc8fa538b.zip |
bisect: fix various cases where we leak commit list items
There are various cases where we leak commit list items because we
evict items from the list, but don't free them. Plug those.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-x | t/t6030-bisect-porcelain.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t6030-bisect-porcelain.sh b/t/t6030-bisect-porcelain.sh index cdc0270640..310affadeb 100755 --- a/t/t6030-bisect-porcelain.sh +++ b/t/t6030-bisect-porcelain.sh @@ -9,6 +9,7 @@ exec </dev/null GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME +TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh add_line_into_file() |