diff options
author | Sunil V L <sunilvl@ventanamicro.com> | 2024-05-27 11:11:13 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-06-03 13:29:35 +0300 |
commit | 0110c4b110477bb1f19b0d02361846be7ab08300 (patch) | |
tree | 6a128de471860cfa8ddb31597bfa5f327e1c1007 /security/landlock/limits.h | |
parent | c3f38fa61af77b49866b006939479069cd451173 (diff) | |
download | linux-0110c4b110477bb1f19b0d02361846be7ab08300.tar.xz |
irqchip/riscv-intc: Prevent memory leak when riscv_intc_init_common() fails
When riscv_intc_init_common() fails, the firmware node allocated is not
freed. Add the missing free().
Fixes: 7023b9d83f03 ("irqchip/riscv-intc: Add ACPI support")
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Anup Patel <anup@brainfault.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240527081113.616189-1-sunilvl@ventanamicro.com
Diffstat (limited to 'security/landlock/limits.h')
0 files changed, 0 insertions, 0 deletions