diff options
| author | Wentao Liang <vulab@iscas.ac.cn> | 2026-09-17 12:42:47 +0000 |
|---|---|---|
| committer | Rob Herring (Arm) <robh@kernel.org> | 2026-09-30 16:09:13 -0500 |
| commit | 30724547b221e0e670ddfef140fc7d816b2aaec6 (patch) | |
| tree | 3fad84d7c9befaecd87ee88a56d0736ef85eaad5 /sound/virtio | |
| parent | 77f21a59e8cf7efcc1c4b3e9176e8b99993a7ae4 (diff) | |
of/irq: Fix remaining refcount leaks in of_irq_init()
Successfully initialized controllers are moved to intc_parent_list,
but the final cleanup only frees the descriptors. The device node
references taken with of_node_get() and the interrupt parent
references are therefore leaked on the normal return path. Drop both
before kfree(), as the intc_desc_list cleanup already does.
Fixes: 8363ccb917c6 ("of/irq: add missing of_node_put")
Cc: stable@vger.kernel.org
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Link: https://patch.msgid.link/20260917124247.2151674-1-vulab@iscas.ac.cn
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'sound/virtio')
0 files changed, 0 insertions, 0 deletions
