|
|
|
|
|
by sltkr
1001 days ago
|
|
It matters because if the allocator cannot allocate a given amount, it should reliably return NULL to iform the caller that the allocation failed, not return a random invalid pointer that's not usable, which will lead to undefined behavior. |
|