]> git.ipfire.org Git - thirdparty/git.git/commit
negotiator/skipping: fix leaking commit entries
authorPatrick Steinhardt <ps@pks.im>
Thu, 5 Sep 2024 10:09:20 +0000 (12:09 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Sep 2024 15:49:12 +0000 (08:49 -0700)
commita46f231975f4c7ac94af0847f4b3bb8b11493d80
tree7b5df02e3e4d740ba6023b50d9aff75178fad5a8
parent16c6fb5a94231e76f618eefc7a683fd12091968a
negotiator/skipping: fix leaking commit entries

When releasing the skipping negotiator we free its priority queue, but
not the contained entries. Fix this to plug a memory leak.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
negotiator/skipping.c
t/t5552-skipping-fetch-negotiator.sh