On Sat, 14 Nov 2015 09:22:30 -0800
Bryan Drewery <[email protected]> wrote:

> On 11/14/2015 9:20 AM, Andrew Turner wrote:
> > On Sat, 14 Nov 2015 16:06:01 +0000 (UTC)
> > Edward Tomasz Napierala <[email protected]> wrote:
> >   
> >> Author: trasz
> >> Date: Sat Nov 14 16:06:01 2015
> >> New Revision: 290821
> >> URL: https://svnweb.freebsd.org/changeset/base/290821
> >>
> >> Log:
> >>   Don't try to avoid calling free(3) with NULL argument.  
> > 
> > Why? free(NULL) is documented to be a nop and is safe to rely on
> > this behaviour.
> >   
> 
> You read it backwards, see the change. It's doing what you want.

Yes, I should read the change more than briefly.

Andrew
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to