Hacker News new | past | comments | ask | show | jobs | submit login

Can I ask why? Is it bad style? (I'm fairly new to C)



I'm late to the party here, but `free` is a no-op on a null pointer. So checking for null is just duplicating the first thing `free` does.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: