3 ms·
> you can safely free() NULL, which saves a conditional This makes for a clearer code, but the conditional is still there, tucked in free's code. Obviously.
by huhtenberg 15y ago
> you can safely free() NULL, which saves a conditional
This makes for a clearer code, but the conditional is still there, tucked in free's code. Obviously.
- gamache 15y agoI think he means not having to test the pointer before handing it off to free().