diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-08-22 11:17:46 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-08-22 09:18:05 -0700 |
| commit | a09efb74e3d3b316519a398618fb6515df4337a7 (patch) | |
| tree | d20e7b549ae721719a72394788f04aae11f498fc /t/t5812-proto-disable-http.sh | |
| parent | transport: fix leaking OID arrays in git:// transport data (diff) | |
| download | git-a09efb74e3d3b316519a398618fb6515df4337a7.tar.gz git-a09efb74e3d3b316519a398618fb6515df4337a7.zip | |
builtin/send-pack: fix leaking refspecs
We never free data associated with the assembled refspec in
git-send-pack(1), causing a memory leak. Fix this.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5812-proto-disable-http.sh')
| -rwxr-xr-x | t/t5812-proto-disable-http.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t5812-proto-disable-http.sh b/t/t5812-proto-disable-http.sh index 769c717e88..f69959c64c 100755 --- a/t/t5812-proto-disable-http.sh +++ b/t/t5812-proto-disable-http.sh @@ -1,6 +1,8 @@ #!/bin/sh test_description='test disabling of git-over-http in clone/fetch' + +TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh . "$TEST_DIRECTORY/lib-proto-disable.sh" . "$TEST_DIRECTORY/lib-httpd.sh" |
