diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-11-06 10:06:49 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2010-11-08 11:30:00 -0500 |
commit | 07cf2a64c2ad3408a0e12aa4cd6040b30c09381d (patch) | |
tree | cd0dcf610b4a83fb3c67ef940e5e391860f19062 /drivers/pci/xen-pcifront.c | |
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
Diffstat (limited to 'drivers/pci/xen-pcifront.c')
0 files changed, 0 insertions, 0 deletions