From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Junio C Hamano <gitster@pobox.com>
Cc: Jeff King <peff@peff.net>, Carlo Arenas <carenas@gmail.com>,
git@vger.kernel.org, l.s.r@web.de
Subject: Re: [RFC PATCH] http: use xmalloc with cURL
Date: Tue, 13 Aug 2019 22:00:44 +0200 (CEST) [thread overview]
Message-ID: <nycvar.QRO.7.76.6.1908132200110.656@tvgsbejvaqbjf.bet> (raw)
In-Reply-To: <xmqqd0ha9ml4.fsf@gitster-ct.c.googlers.com>
Hi,
On Mon, 12 Aug 2019, Junio C Hamano wrote:
> 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
next prev parent reply other threads:[~2019-08-13 20:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-10 22:02 [RFC PATCH] http: use xmalloc with cURL Carlo Marcelo Arenas Belón
2019-08-10 22:17 ` Daniel Stenberg
2019-08-10 22:41 ` Carlo Arenas
2019-08-11 11:20 ` Johannes Schindelin
2019-08-11 19:08 ` Carlo Arenas
2019-08-12 19:23 ` Johannes Schindelin
2019-08-12 19:55 ` Jeff King
2019-08-12 20:04 ` Junio C Hamano
2019-08-12 20:50 ` Jeff King
2019-08-13 20:00 ` Johannes Schindelin [this message]
2019-08-14 16:01 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nycvar.QRO.7.76.6.1908132200110.656@tvgsbejvaqbjf.bet \
--to=johannes.schindelin@gmx.de \
--cc=carenas@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=l.s.r@web.de \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).