]> git.ipfire.org Git - thirdparty/git.git/commit
transport: fix leaking OID arrays in git:// transport data
authorPatrick Steinhardt <ps@pks.im>
Thu, 22 Aug 2024 09:17:41 +0000 (11:17 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Aug 2024 16:18:05 +0000 (09:18 -0700)
commitca522341831ad223187fe67b80ad87ad6efe4497
treec886462059fd94d09b1f6e57ff045255572a44de
parentfb24460e1d28d963eb0eac75d3342b492583d2c9
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>
t/t5501-fetch-push-alternates.sh
t/t5519-push-alternates.sh
transport.c