On Sat, Nov 14, 2015 at 10:22 AM, 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.
>

Or rather, its failing to not do what you want. The double negative can
be tricky :)

Warner
_______________________________________________
[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