aboutsummaryrefslogtreecommitdiffstats
path: root/t/t5549-fetch-push-http.sh
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-09-05 12:08:43 +0200
committerJunio C Hamano <gitster@pobox.com>2024-09-05 08:49:10 -0700
commite03004f7f86a817af2b8d0752dfecac58e7d85e0 (patch)
treedd9f36770139576ccbcafc1613f7af1359d181c2 /t/t5549-fetch-push-http.sh
parent63494913eced2f0993eb431ad236b03e6ee8cac2 (diff)
downloadgit-e03004f7f86a817af2b8d0752dfecac58e7d85e0.tar.gz
send-pack: fix leaking common object IDs
We're leaking the array of common object IDs in `send_pack()`. Fix this by creating a common exit path where we free the leaking data. While at it, unify some other cleanups now that we have a central place to put them. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5549-fetch-push-http.sh')
-rwxr-xr-xt/t5549-fetch-push-http.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t5549-fetch-push-http.sh b/t/t5549-fetch-push-http.sh
index 2cdebcb735..6377fb6d99 100755
--- a/t/t5549-fetch-push-http.sh
+++ b/t/t5549-fetch-push-http.sh
@@ -5,6 +5,7 @@ test_description='fetch/push functionality using the HTTP protocol'
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-httpd.sh
start_httpd