]> git.99rst.org Git - git.git/commit
negotiator/skipping: fix leaking commit entries
authorPatrick Steinhardt <redacted>
Thu, 5 Sep 2024 10:09:20 +0000 (12:09 +0200)
committerJunio C Hamano <redacted>
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
negotiator/skipping.c
t/t5552-skipping-fetch-negotiator.sh
git clone https://git.99rst.org/PROJECT