Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Nov 2015 17:20:30 +0000
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        Edward Tomasz Napierala <trasz@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r290821 - head/usr.sbin/ctld
Message-ID:  <20151114172030.7dfc24d0@bender.Home>
In-Reply-To: <201511141606.tAEG61Rh062202@repo.freebsd.org>
References:  <201511141606.tAEG61Rh062202@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 14 Nov 2015 16:06:01 +0000 (UTC)
Edward Tomasz Napierala <trasz@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.

Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151114172030.7dfc24d0>