mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
irqchip/wpcm450: Fix memory leak in wpcm450_aic_of_init()
[ Upstream commit4208d4faf3] If of_iomap() failed, 'aic' should be freed before return. Otherwise there is a memory leak. Fixes:fead4dd496("irqchip: Add driver for WPCM450 interrupt controller") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221115092532.1704032-1-weiyongjun@huaweicloud.com Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
12f45dc266
commit
773c9d7f12
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue