svn commit: r290821 - head/usr.sbin/ctld

Bryan Drewery bdrewery at FreeBSD.org
Sat Nov 14 17:22:25 UTC 2015


On 11/14/2015 9:20 AM, Andrew Turner wrote:
> On Sat, 14 Nov 2015 16:06:01 +0000 (UTC)
> Edward Tomasz Napierala <trasz at FreeBSD.org> 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.


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20151114/7be1832b/attachment.bin>


More information about the svn-src-all mailing list