Re: [PATCH] [v2] iommu/intel: Fix memleak in intel_irq_remapping_alloc

From: Will Deacon
Date: Tue Jan 05 2021 - 17:08:06 EST


On Tue, 5 Jan 2021 13:18:37 +0800, Dinghao Liu wrote:
> When irq_domain_get_irq_data() or irqd_cfg() fails
> at i == 0, data allocated by kzalloc() has not been
> freed before returning, which leads to memleak.

Applied to arm64 (for-next/iommu/fixes), thanks!

[1/1] iommu/intel: Fix memleak in intel_irq_remapping_alloc
https://git.kernel.org/arm64/c/ff2b46d7cff8

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev