commit | 07cf2a64c2ad3408a0e12aa4cd6040b30c09381d | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Sat Nov 06 10:06:49 2010 +0100 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Mon Nov 08 11:30:00 2010 -0500 |
tree | cd0dcf610b4a83fb3c67ef940e5e391860f19062 | |
parent | 1688c3d6000b1183bcb604c8c85f742a579990e5 [diff] |
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 <jslaby@suse.cz> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: xen-devel@lists.xensource.com Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: x86@kernel.org