summaryrefslogtreecommitdiffstats
path: root/t/t5501-fetch-push-alternates.sh
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-08-22 11:17:41 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-22 18:18:05 +0200
commitca522341831ad223187fe67b80ad87ad6efe4497 (patch)
treec886462059fd94d09b1f6e57ff045255572a44de /t/t5501-fetch-push-alternates.sh
parentt/helper: fix leaking multi-pack-indices in "read-midx" (diff)
downloadgit-ca522341831ad223187fe67b80ad87ad6efe4497.tar.xz
git-ca522341831ad223187fe67b80ad87ad6efe4497.zip
transport: fix leaking OID arrays in git:// transport data
The transport data for the "git://" protocol contains two OID arrays that we never free, creating a memory leak. Plug them. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5501-fetch-push-alternates.sh')
-rwxr-xr-xt/t5501-fetch-push-alternates.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t5501-fetch-push-alternates.sh b/t/t5501-fetch-push-alternates.sh
index 66f19a4ef2..0c8668a1b8 100755
--- a/t/t5501-fetch-push-alternates.sh
+++ b/t/t5501-fetch-push-alternates.sh
@@ -4,6 +4,7 @@ test_description='fetch/push involving alternates'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
count_objects () {