Re: [PATCH] x86/ioapic: fix the irq_2_pin mem leak when destroy_irq

From: Yinghai Lu
Date: Tue Oct 16 2012 - 22:02:27 EST

On Wed, Oct 17, 2012 at 3:11 AM, Chuansheng Liu
<chuansheng.liu@xxxxxxxxx> wrote:
> When destroying the irq, before free cfg, need to check
> cfg->irq_2_pin and free it when it is not NULL.
> Signed-off-by: liu chuansheng <chuansheng.liu@xxxxxxxxx>
> ---

i had that in another patch...

Subject [PATCH 01/13] x86, irq: Convert irq_2_pin list to generic list
Date Thu, 23 Feb 2012 19:48:47 -0800

So we can use generic list helper function.

Also make free_irq_cfg() free irq_2_pin list.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at