Re: [PATCH v2] drivers: clk: sunxi: Fix memory leakage in clk-sunxi.c

From: Maxime Ripard
Date: Sun Oct 20 2013 - 06:25:42 EST


Hi Victor,

On Fri, Oct 18, 2013 at 08:27:51PM -0300, Victor N. Ramos Mello wrote:
> From: "Victor N. Ramos Mello" <victornrm@xxxxxxxxx>
>
> Fix a possible memory leak in sun4i_osc_clk_setup().
> Moved clock-frequency check to save superfluous allocation.
>
> Signed-off-by: Victor N. Ramos Mello <victornrm@xxxxxxxxx>

Acked-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>

Thanks!
Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

Attachment: signature.asc
Description: Digital signature