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. Federico
- Code cleanup Maurits Rijk
- Re: Code cleanup Austin Donnelly
- Re: Code cleanup Federico Mena Quintero
- Re: Code cleanup Maurits Rijk
- Re: Code cleanup David Odin
- Re: Code cleanup Nick Lamb
- Re: Code cleanup Federico Mena Quintero
- Re: Code cleanup Garry R. Osgood
- Re: Code cleanup Marc Lehmann