Re: [PATCH 05/22] upload-pack: fix leaking child process data on reachability checks
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 30, 2024, 22:30 UTC
- Message-ID
- <xmqqplppprsg.fsf@gitster.g>
- In-Reply-To
- <77023421e189aee6837cea9b25841ea258bc06e3.1724656120.git.ps@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
> We spawn a git-rev-list(1) command to perform reachability checks in > "upload-pack.c". We do not release memory associated with the process > in error cases though, thus leaking memory.
Thanks for plugging this leak dating back in ages.
Both changes look sensible to me.