git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* NULL check for malloc?
@ 2005-04-24 14:03 Christopher Li
  0 siblings, 0 replies; only message in thread
From: Christopher Li @ 2005-04-24 14:03 UTC (permalink / raw)
  To: git mailing list

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-24 18:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-24 14:03 NULL check for malloc? Christopher Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).