Nick Lamb <[EMAIL PROTECTED]> writes:

> > If p is a null pointer then "free (p)" may (and should!) crash.  You
> > are incorrect here.
> <sigh> You are completely wrong, see K&R's treatment of ANSI C

Sorry, my bad.  I just checked the ISO standard and indeed, free(NULL)
is safe.

I guess that makes me an old fogey.


Reply via email to