Hacker News new | ask | show | jobs
by DanWaterworth 4131 days ago
> 5 is also missing a check for a NULL pointer. ;)

Not necessarily. It could be up to the caller to ensure that the pointer isn't NULL.