Re: [PATCH v2] clk: rockchip: Fix memory leak in rockchip_clk_register_pll()

From: Heiko Stuebner
Date: Wed Nov 23 2022 - 09:06:06 EST


On Wed, 23 Nov 2022 17:12:01 +0800, Xiu Jianfeng wrote:
> If clk_register() fails, @pll->rate_table may have allocated memory by
> kmemdup(), so it needs to be freed, otherwise will cause memory leak
> issue, this patch fixes it.
>
>

Applied, thanks!

[1/1] clk: rockchip: Fix memory leak in rockchip_clk_register_pll()
commit: 739a6a6bbdb793bd57938cb24aa5a6df89983546

Best regards,
--
Heiko Stuebner <heiko@xxxxxxxxx>