Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2013 08:56:17 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Konstantin Belousov <kib@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r255439 - head/sys/dev/cpuctl
Message-ID:  <20130910155617.GU68682@funkthat.com>
In-Reply-To: <201309100517.r8A5HrHY020358@svn.freebsd.org>
References:  <201309100517.r8A5HrHY020358@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Konstantin Belousov wrote this message on Tue, Sep 10, 2013 at 05:17 +0000:
> Author: kib
> Date: Tue Sep 10 05:17:53 2013
> New Revision: 255439
> URL: http://svnweb.freebsd.org/changeset/base/255439
> 
> Log:
>   Call free() on the pointer returned from malloc().

We really should add a KASSERT for these cases, incase this breaks in
the future..

> -	ptr = (void *)(16 + ((intptr_t)ptr & ~0xf));

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



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