linux/arch
Zhang Qilong 5e7f422c38 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:29:07 +01:00
..
alpha
arc ARC: stack unwinding: avoid indefinite looping 2020-11-10 12:37:33 +01:00
arm ARM: dts: imx50-evk: Fix the chip select 1 IOMUX 2020-11-24 13:29:04 +01:00
arm64 arm64: dts: imx8mm: fix voltage for 1.6GHz CPU operating point 2020-11-24 13:29:04 +01:00
c6x
csky
h8300
hexagon
ia64 ia64: fix build error with !COREDUMP 2020-11-05 11:43:33 +01:00
m68k m68k: q40: Fix info-leak in rtc_ioctl 2020-10-01 13:17:12 +02:00
microblaze
mips MIPS: Alchemy: Fix memleak in alchemy_clk_setup_cpu 2020-11-24 13:29:07 +01:00
nds32
nios2
openrisc openrisc: Fix issue with get_user for 64-bit values 2020-11-01 12:01:06 +01:00
parisc kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables 2020-09-03 11:27:10 +02:00
powerpc powerpc/8xx: Always fault when _PAGE_ACCESSED is not set 2020-11-22 10:14:12 +01:00
riscv riscv: Set text_offset correctly for M-Mode 2020-11-18 19:20:25 +01:00
s390 s390/smp: move rcu_cpu_starting() earlier 2020-11-18 19:20:24 +01:00
sh
sparc sparc64: remove mm_cpumask clearing to fix kthread_use_mm race 2020-11-05 11:43:13 +01:00
um um: change sigio_spinlock to a mutex 2020-11-05 11:43:14 +01:00
unicore32
x86 KVM: x86: clflushopt should be treated as a no-op by emulation 2020-11-22 10:14:12 +01:00
xtensa xtensa: fix system_call interaction with ptrace 2020-10-01 13:17:22 +02:00
.gitignore
Kconfig mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race 2020-11-05 11:43:13 +01:00