summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2022-11-15 12:25:32 +0300
committerMarc Zyngier <maz@kernel.org>2022-11-26 16:29:48 +0300
commit4208d4faf36573a507b5e5de17abe342e9276759 (patch)
tree9ba351ad99ba12348620810f7277dd6390aa16ce /tools/perf/scripts/python/syscall-counts.py
parent4e08a286b1f7a0a32828d6411255296e4ef51fa6 (diff)
downloadlinux-4208d4faf36573a507b5e5de17abe342e9276759.tar.xz
irqchip/wpcm450: Fix memory leak in wpcm450_aic_of_init()
If of_iomap() failed, 'aic' should be freed before return. Otherwise there is a memory leak. Fixes: fead4dd49663 ("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
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions