diff options
author | 2022-11-23 11:16:22 +0800 | |
---|---|---|
committer | 2022-12-08 17:16:14 -0800 | |
commit | 0b8ba891ad4d1ef6bfa4c72efc83f9f9f855f68b (patch) | |
tree | 3dca1d16dfdf0b9579acf0d3f7271895d8695aa4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | clk: st: Fix memory leak in st_of_quadfs_setup() (diff) | |
download | wireguard-linux-0b8ba891ad4d1ef6bfa4c72efc83f9f9f855f68b.tar.xz wireguard-linux-0b8ba891ad4d1ef6bfa4c72efc83f9f9f855f68b.zip |
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 <xiujianfeng@huawei.com>
Link: https://lore.kernel.org/r/20221123031622.63171-1-xiujianfeng@huawei.com
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions