[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAVeFuJhsGjGyK4Fk5qAk3jp9L5LnnuVCg8srwibg1hjWfvpEg@mail.gmail.com>
Date: Wed, 6 Jul 2016 23:17:30 +0900
From: Alexandre Courbot <gnurou@...il.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Thierry Reding <thierry.reding@...il.com>,
David Airlie <airlied@...ux.ie>,
Stephen Warren <swarren@...dotorg.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] drm/tegra: sor: Double free on error
On Mon, Jul 4, 2016 at 4:45 PM, Dan Carpenter <dan.carpenter@...cle.com> wrote:
> "brick" is allocated with devm_kzalloc() so freeing it with kfree()
> leads to a double free. We can just delete it.
That makes perfect sense.
Reviewed-by: Alexandre Courbot <acourbot@...dia.com>
Powered by blists - more mailing lists