diff options
author | 2020-11-13 21:18:56 +0800 | |
---|---|---|
committer | 2020-11-17 12:53:57 +0100 | |
commit | ac3b57adf87ad9bac7e33ca26bbbb13fae1ed62b (patch) | |
tree | bcc067bf053fd37cd99a3806b492c4b4c04f6406 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | MIPS: kernel: Fix for_each_memblock conversion (diff) | |
download | wireguard-linux-ac3b57adf87ad9bac7e33ca26bbbb13fae1ed62b.tar.xz wireguard-linux-ac3b57adf87ad9bac7e33ca26bbbb13fae1ed62b.zip |
MIPS: Alchemy: Fix memleak in alchemy_clk_setup_cpu
If the clk_register fails, we should free h before
function returns to prevent memleak.
Fixes: 474402291a0ad ("MIPS: Alchemy: clock framework integration of onchip clocks")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions