]> git.99rst.org Git - git.git/commit
upload-pack: fix leaking URI protocols
authorPatrick Steinhardt <redacted>
Tue, 5 Nov 2024 06:17:06 +0000 (07:17 +0100)
committerJunio C Hamano <redacted>
Tue, 5 Nov 2024 06:37:53 +0000 (22:37 -0800)
commit3b373150c8ea52ed64db0e7b0bd5a9b483e99a8e
treec25c77b5ca13c2f674ce4e88a2a98d202204d01c
parent0b20a28811390ad8a1f7e22928018e5241738446
upload-pack: fix leaking URI protocols

We don't clear `struct upload_pack::uri_protocols`, which causes a
memory leak. Fix this.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t5702-protocol-v2.sh
upload-pack.c
git clone https://git.99rst.org/PROJECT