Re: [PATCH] t-reftable-basics: allow for `malloc` to be `#define`d
From: Junio C Hamano <hidden> Date: 2025-01-08 17:41:34
René Scharfe [off-list ref] writes:
quoted
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! :-/