Re: [PATCH] regmap: Fix memory leak in regmap_init error path

From: Mark Brown
Date: Thu Nov 10 2011 - 12:41:46 EST


On Thu, Nov 10, 2011 at 06:15:15PM +0100, Lars-Peter Clausen wrote:
> If regcache initialization fails regmap_init will currently exit without
> freeing work_buf.
>
> Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/