Files
linux/arch/mips/alchemy/common
Zhang Qilong 68489e5fe3 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>
2023-05-16 09:49:18 +09:00
..
2016-04-03 12:32:09 +02:00
2014-07-30 13:56:34 +02:00
2016-10-06 18:01:28 +02:00
2014-07-30 14:09:21 +02:00
2011-12-07 22:02:05 +00:00