Closed JFreegman closed 8 months ago
@JFreegman realloc
with a new size of 0 will stop being implementation-defined and become UB in C23.
see: https://en.cppreference.com/w/c/memory/realloc
@JFreegman
realloc
with a new size of 0 will stop being implementation-defined and become UB in C23. see: https://en.cppreference.com/w/c/memory/realloc
Good to know. Might as well deal with that now then.
This change is