Files
twx-linux/arch/mips
Zhang Qilong fdf22edef4 MIPS: Alchemy: Fix memleak in alchemy_clk_setup_cpu
[ Upstream commit ac3b57adf8 ]

If the clk_register fails, we should free h before
function returns to prevent memleak.

Fixes: 474402291a ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-24 13:05:49 +01:00
..
2019-02-27 10:08:04 +01:00
2019-07-31 07:28:47 +02:00
2019-08-06 19:05:20 +02:00
2020-01-12 12:11:54 +01:00
2020-09-23 10:46:35 +02:00
2020-09-23 10:46:35 +02:00