NULL check for malloc?
- From
- Christopher Li <git@chrisli.org>
- Date
- Apr 24, 2005, 14:03 UTC
- Message-ID
- <20050424140341.GA15158@64m.dyndns.org>
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