(no title)
jonhohle | 9 days ago
It would run regardless of if malloc succeeded or failed, but calling free on a NULL pointer is safe (defined to no-op in the C-spec).
jonhohle | 9 days ago
It would run regardless of if malloc succeeded or failed, but calling free on a NULL pointer is safe (defined to no-op in the C-spec).
flakes|9 days ago
free may accept a NULL pointer, but it also doesn't need to be called with one either.
maccard|9 days ago
masklinn|9 days ago
mort96|9 days ago
krautsauer|9 days ago
unknown|9 days ago
[deleted]