diff options
author | 2020-11-13 21:16:23 +0800 | |
---|---|---|
committer | 2020-12-17 01:46:37 -0800 | |
commit | 8c6239f6e95f583bb763d0228e02d4dd0fb3d492 (patch) | |
tree | 14918cdd09a5a9e5ee3ac1ce0fa2683d3913e67b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.10-rc1 (diff) | |
download | wireguard-linux-8c6239f6e95f583bb763d0228e02d4dd0fb3d492.tar.xz wireguard-linux-8c6239f6e95f583bb763d0228e02d4dd0fb3d492.zip |
clk: ti: Fix memleak in ti_fapll_synth_setup
If clk_register fails, we should goto free branch
before function returns to prevent memleak.
Fixes: 163152cbbe321 ("clk: ti: Add support for FAPLL on dm816x")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201113131623.2098222-1-zhangqilong3@huawei.com
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions