diff options
author | Xiu Jianfeng <[email protected]> | 2022-11-22 21:36:14 +0800 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2022-12-07 18:27:11 -0800 |
commit | cfd3ffb36f0d566846163118651d868e607300ba (patch) | |
tree | 7d9fdc1cacc38be068e57e085638a2c16d091997 /lib/mpi/mpi-sub-ui.c | |
parent | 5174e5b0d1b669a489524192b6adcbb3c54ebc72 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Patrice Chotard <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions