diff options
author | Xiu Jianfeng <[email protected]> | 2022-11-23 11:16:22 +0800 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2022-12-08 17:16:14 -0800 |
commit | 0b8ba891ad4d1ef6bfa4c72efc83f9f9f855f68b (patch) | |
tree | 3dca1d16dfdf0b9579acf0d3f7271895d8695aa4 /lib/mpi/mpi-sub-ui.c | |
parent | cfd3ffb36f0d566846163118651d868e607300ba (diff) |
clk: socfpga: Fix memory leak in socfpga_gate_init()
Free @socfpga_clk and @ops on the error path to avoid memory leak issue.
Fixes: a30a67be7b6e ("clk: socfpga: Don't have get_parent for single parent ops")
Signed-off-by: Xiu Jianfeng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Dinh Nguyen <[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