Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clk: ti: Fix memleak in ti_fapll_synth_setup
[ Upstream commit 8c6239f ] If clk_register fails, we should goto free branch before function returns to prevent memleak. Fixes: 163152c ("clk: ti: Add support for FAPLL on dm816x") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com> Link: https://lore.kernel.org/r/20201113131623.2098222-1-zhangqilong3@huawei.com Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information