Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> `free(NULL);` will crash on some platforms that gcc supports, I believe.

No, of course it won't. `free(NULL)` has been a noop ever since C89 (and before, for that matter).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: