From: Thomas Gleixner Date: Mon, 4 Oct 2010 14:20:16 +0000 (+0200) Subject: pci: intr-remap: Free irte memory if SPARSE_IRQ=y X-Git-Tag: v2.6.37-rc1~191^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e1e367aab873becf3e21d9b0cf46d11154ebc3f;p=pandora-kernel.git pci: intr-remap: Free irte memory if SPARSE_IRQ=y With SPARSE_IRQ=y the irte descriptors are dynamically allocated, but not freed in free_irte(). That was ok as long as the sparse irq core was not freeing irq descriptors on destroy_irq(). Now we leak the irte descriptor. Free it in free_irte(). Signed-off-by: Thomas Gleixner Reviewed-by: Ingo Molnar Acked-by: Suresh Siddha Cc: David Woodhouse Cc: Jesse Barnes --- Reading git-diff-tree failed