[PATCH v9] malloc: add free_sized and free_aligned_sized from C23
Paul Eggert
eggert@cs.ucla.edu
Mon Oct 20 23:08:51 GMT 2025
On 2025-10-20 10:00, Justin King wrote:
> That would generally be a bad idea, as custom malloc implementations would
> not be able to take advantage of providing their own
> optimal implementation.
First, OK that's fine, but how about putting that in a comment? It could
be either in the .h file or in the .c source files.
Second, doesn't this mean the "Replacing malloc" section should talk
about the need to replace free_sized and free_aligned_sized, in the
section where it currently talks about replacing aligned_alloc etc.?
More information about the Libc-alpha
mailing list