Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
irqchip/riscv-intc: Prevent memory leak when riscv_intc_init_common()…
… fails BugLink: https://bugs.launchpad.net/bugs/2073788 commit 0110c4b upstream. When riscv_intc_init_common() fails, the firmware node allocated is not freed. Add the missing free(). Fixes: 7023b9d ("irqchip/riscv-intc: Add ACPI support") Signed-off-by: Sunil V L <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Anup Patel <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Portia Stephens <[email protected]> Signed-off-by: Roxana Nicolescu <[email protected]>
- Loading branch information