OpenCloudOS-Kernel/drivers/clk/st
Xiu Jianfeng cfd3ffb36f clk: st: Fix memory leak in st_of_quadfs_setup()
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>
2022-12-07 18:27:11 -08:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
clk-flexgen.c clk: st: flexgen: embed soc clock outputs within compatible data 2021-06-27 19:53:39 -07:00
clkgen-fsyn.c clk: st: Fix memory leak in st_of_quadfs_setup() 2022-12-07 18:27:11 -08:00
clkgen-mux.c clk: st: Hold reference returned by of_get_parent() 2022-08-19 14:34:44 -07:00
clkgen-pll.c clk: st: clkgen-pll: embed soc clock outputs within compatible data 2021-06-27 19:53:39 -07:00
clkgen.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00