Re: core segfaults (Yahoo?)

Meredydd <[email protected]> Fri, 12 Mar 2004 14:41:34 +0000
Newsgroups gmane.network.everybuddy.devel
Message-ID <[email protected]>
On Friday 12 March 2004 05:52, Philip S Tellis wrote:
> I think free crashes if you free(NULL);
I talked to Craig last night, and he is in fact right - free(NULL) does 
nothing, and is apparently specced to do so. Little-known fact (and 
extremely unusual - can *you* name another C function which does its 
own sanity checking?). Regardless, it's still bad style, if only 
because it confuses programmers who don't know this (like, say, me 
before last night :^) ), which is why Craig has changed it back.

Meredydd