diff options
| author | Sunil V L <[email protected]> | 2024-05-27 08:11:13 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2024-06-03 10:29:35 +0000 |
| commit | 0110c4b110477bb1f19b0d02361846be7ab08300 (patch) | |
| tree | 6a128de471860cfa8ddb31597bfa5f327e1c1007 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
| parent | Linux 6.10-rc2 (diff) | |
| download | kernel-0110c4b110477bb1f19b0d02361846be7ab08300.tar.gz kernel-0110c4b110477bb1f19b0d02361846be7ab08300.zip | |
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 <[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]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions
