Thread (1 message) 1 message, 1 author, 2025-01-08

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! :-/
Thanks for a quick Ack.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help