From: Jiri Slaby Date: Sat, 6 Nov 2010 09:06:49 +0000 (+0100) Subject: xen: fix memory leak in Xen PCI MSI/MSI-X allocator. X-Git-Tag: v2.6.37-rc2~26^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07cf2a64c2ad3408a0e12aa4cd6040b30c09381d;p=pandora-kernel.git xen: fix memory leak in Xen PCI MSI/MSI-X allocator. Stanse found that xen_setup_msi_irqs leaks memory when xen_allocate_pirq fails. Free the memory in that fail path. Signed-off-by: Jiri Slaby Signed-off-by: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xensource.com Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x86@kernel.org --- Reading git-diff-tree failed