summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2022-11-22 21:36:14 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-12-31 13:33:04 +0100
commitf4731395d6db850127634197863aede188d8e9de (patch)
treeb9f62396e5d1d38511b7d7ec3a189c111093dbf8 /include
parent92b0888398e4ba51d93b618a6506781f4e3879c9 (diff)
downloadlinux-starfive-f4731395d6db850127634197863aede188d8e9de.tar.gz
linux-starfive-f4731395d6db850127634197863aede188d8e9de.tar.bz2
linux-starfive-f4731395d6db850127634197863aede188d8e9de.zip
clk: st: Fix memory leak in st_of_quadfs_setup()
[ Upstream commit cfd3ffb36f0d566846163118651d868e607300ba ] If st_clk_register_quadfs_pll() fails, @lock should be freed before goto @err_exit, otherwise will cause meory leak issue, fix it. Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> Link: https://lore.kernel.org/r/20221122133614.184910-1-xiujianfeng@huawei.com Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions