aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-11-05 07:16:58 +0100
committerJunio C Hamano <gitster@pobox.com>2024-11-04 22:37:52 -0800
commite29ff075e082ecdc6ee85baea83d32d4a055d186 (patch)
tree8537ee0f474b8045d1ea3e86e9b5ff7ef4da4b84 /t
parent43fedde3dfcd1e0ccd638f1a8c70c39219680fb1 (diff)
downloadgit-e29ff075e082ecdc6ee85baea83d32d4a055d186.tar.xz
revision: fix leaking bloom filters
The memory allocated by `prepare_to_use_bloom_filter()` is not released by `release_revisions()`, causing a memory leak. Plug it. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t4216-log-bloom.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t4216-log-bloom.sh b/t/t4216-log-bloom.sh
index 3f163dc396..8d22338f6a 100755
--- a/t/t4216-log-bloom.sh
+++ b/t/t4216-log-bloom.sh
@@ -4,6 +4,7 @@ test_description='git log for a path with Bloom filters'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
. "$TEST_DIRECTORY"/lib-chunk.sh