Re: [RFC PATCH] http: use xmalloc with cURL
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 13, 2019, 20:00 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1908132200110.656@tvgsbejvaqbjf.bet>
- In-Reply-To
- <xmqqd0ha9ml4.fsf@gitster-ct.c.googlers.com>
Hi,
On Mon, 12 Aug 2019, Junio C Hamano wrote:
Show 7 quoted lines
> Jeff King <peff@peff.net> writes: > > > I think it might be worth just eliminating the whole idea. > > I kinda like the simplification ;-) An even thinner wrapper that > calls malloc() and dies if it gets NULL, without any "try-to-free" > logic.
This is one of those instances where I wish we would have some reliable data rather than having to guess whether it is a good idea or not.
Ciao, DScho