Messages in this thread | | | Subject | Re: [PATCH] clk: samsung: Fix memory leak in _samsung_clk_register_pll() | From | Stephen Boyd <> | Date | Wed, 07 Dec 2022 18:26:50 -0800 |
| |
Quoting Xiu Jianfeng (2022-11-22 19:20:15) > 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. > > Fixes: 3ff6e0d8d64d ("clk: samsung: Add support to register rate_table for samsung plls") > Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> > ---
Applied to clk-next
| |