From: Junio C Hamano Date: Wed, 08 Jan 2025 17:41:32 GMT Subject: Re: [PATCH] t-reftable-basics: allow for `malloc` to be `#define`d Message-ID: In-Reply-To: René Scharfe writes: >> It is actually unnecessary to use those function pointers to >> `malloc`/`realloc`/`free`, though: The `reftable` code goes out of its >> way to fall back to the initial allocator when passing `NULL` parameters >> instead. So let's do that instead of causing heap corruptions. > > Ugh. That makes a lot of sense. Sorry for the trouble! :-/ Thanks for a quick Ack.