Hacker News new | ask | show | jobs
by davidshepherd7 4178 days ago
Can I ask why? Is it bad style? (I'm fairly new to C)
1 comments

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.