]> git.ipfire.org Git - thirdparty/git.git/commit
send-pack: clean-up even when taking an early exit
authorJunio C Hamano <gitster@pobox.com>
Tue, 1 Jul 2025 21:17:25 +0000 (14:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Jul 2025 21:17:25 +0000 (14:17 -0700)
commitb0e9d258654bb2c50f095ba05599d8badadb71a2
tree532a5533b2b00747bc60f49bee090c7fa8ec1b59
parentd1c44861f9c86ef3ff6e0614e423d86a2a41db4f
send-pack: clean-up even when taking an early exit

Previous commit has plugged one leak in the normal code path, but
there is an early exit that leaves without releasing any resources
acquired in the function.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/send-pack.c