linux/arch/mips/alchemy
Zhang Qilong ac3b57adf8 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: 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>
2020-11-17 12:53:57 +01:00
..
common MIPS: Alchemy: Fix memleak in alchemy_clk_setup_cpu 2020-11-17 12:53:57 +01:00
devboards MIPS: alchemy: Share prom_init implementation 2020-10-06 12:33:57 +02:00
board-gpr.c MIPS: alchemy: Share prom_init implementation 2020-10-06 12:33:57 +02:00
board-mtx1.c MIPS: alchemy: Share prom_init implementation 2020-10-06 12:33:57 +02:00
board-xxs1500.c MIPS: alchemy: Share prom_init implementation 2020-10-06 12:33:57 +02:00
Kconfig MIPS: alchemy: remove unused ALCHEMY_GPIOINT_AU1000 2020-09-21 22:16:28 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Platform MIPS: Only include the platform file needed 2020-05-13 00:17:18 +02:00