[PATCH v3] clk: mvebu/clk-cpu.c: fix memory leakage

Jason Cooper jason at lakedaemon.net
Tue Jan 22 20:08:47 EST 2013


On Tue, Jan 15, 2013 at 07:44:26PM +0100, Cong Ding wrote:
> the variable cpuclk and clk_name should be properly freed when error happens.
> 
> Signed-off-by: Cong Ding <dinggnu at gmail.com>
> Acked-by: Jason Cooper <jason at lakedaemon.net>
> ---
>  drivers/clk/mvebu/clk-cpu.c |    9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)

Applied to mvebu/fixes with MikeT's Ack.

thx,

Jason.



More information about the linux-arm-kernel mailing list