diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-08-22 11:17:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-22 18:18:05 +0200 |
commit | ca522341831ad223187fe67b80ad87ad6efe4497 (patch) | |
tree | c886462059fd94d09b1f6e57ff045255572a44de /t/t5501-fetch-push-alternates.sh | |
parent | t/helper: fix leaking multi-pack-indices in "read-midx" (diff) | |
download | git-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-x | t/t5501-fetch-push-alternates.sh | 1 |
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 () { |