diff options
author | Wei Yongjun <[email protected]> | 2022-11-15 09:25:32 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-11-26 13:29:48 +0000 |
commit | 4208d4faf36573a507b5e5de17abe342e9276759 (patch) | |
tree | 9ba351ad99ba12348620810f7277dd6390aa16ce /tools/perf/scripts/python | |
parent | 4e08a286b1f7a0a32828d6411255296e4ef51fa6 (diff) |
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 <[email protected]>
Reviewed-by: Jonathan Neuschäfer <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions