Thread (2 messages) 2 messages, 2 authors, 2022-11-23

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

From: Heiko Stuebner <heiko@sntech.de>
Date: 2022-11-23 14:06:06
Also in: linux-clk, linux-rockchip, lkml

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 [off-list ref]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help