Re: [patch] drm/tegra: sor: Double free on error

From: Alexandre Courbot
Date: Wed Jul 06 2016 - 10:17:54 EST


On Mon, Jul 4, 2016 at 4:45 PM, Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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@xxxxxxxxxx>