Skip to contentSkip to conversation

NULL check for malloc?

DISCUSSION Christopher Li 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

I notice that there are lots of malloc call without checking the return NULL pointer.

Should we just have some wrapper function for malloc just die if malloc fails?

Chris