Messages in this thread | | | Subject | Re: [PATCH] clk: visconti: Fix memory leak in visconti_register_pll() | From | Stephen Boyd <> | Date | Tue, 29 Nov 2022 12:11:30 -0800 |
| |
Quoting Xiu Jianfeng (2022-11-22 07:23:53) > @pll->rate_table has allocated memory by kmemdup(), if clk_hw_register() > fails, it should be freed, otherwise it will cause memory leak issue, > this patch fixes it. > > Fixes: b4cbe606dc36 ("clk: visconti: Add support common clock driver and reset driver") > Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> > ---
Applied to clk-next
| |