From: Christian Limpach Subject: Re: 9ead082168053f89: Restore NULL checks before calling kfree(). Date: Tue, 13 Sep 2005 09:11:34 +0100 Message-ID: <20050913081133.GO3380@cl.cam.ac.uk> References: <1126570444.3745.4.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1126570444.3745.4.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Rusty Russell Cc: Xen Mailing List List-Id: xen-devel@lists.xenproject.org On Tue, Sep 13, 2005 at 10:14:04AM +1000, Rusty Russell wrote: > Hmm, kfree() is defined to work (like free) as a noop on NULL. > > Please, when checking in changes, tell us *why*. Consistency with rest > of code? Stylistic concerns? Found a bug? Consistency with rest of code and stylistic concerns. christian