Hacker News new | ask | show | jobs
by tom_ 2813 days ago
No... maybe? It's probably arguable, even if it's not an interesting argument.

Either way, realloc's behaviour is well-defined when the pointer is null.