linux/drivers/xen/xen-pciback
Daeseok Youn cea37f8751 xen: fix memory leak in __xen_pcibk_add_pci_dev()
It need to free dev_entry when it failed to assign to a new
slot on the virtual PCI bus.

smatch says:
 drivers/xen/xen-pciback/vpci.c:142 __xen_pcibk_add_pci_dev() warn:
possible memory leak of 'dev_entry'

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
2014-04-15 17:32:30 +01:00
..
conf_space_capability.c xen/pciback: Drop two backends, squash and cleanup some code. 2011-07-19 20:58:35 -04:00
conf_space_header.c xen: Convert printks to pr_<level> 2013-06-28 11:19:58 -04:00
conf_space_quirks.c xen/pciback: miscellaneous adjustments 2011-09-21 18:17:59 -04:00
conf_space_quirks.h xen/pciback: Drop two backends, squash and cleanup some code. 2011-07-19 20:58:35 -04:00
conf_space.c PCI: create common pcibios_err_to_errno 2012-06-12 09:21:42 -06:00
conf_space.h xen/pciback: Drop two backends, squash and cleanup some code. 2011-07-19 20:58:35 -04:00
Makefile xen/pciback: Have 'passthrough' option instead of XEN_PCIDEV_BACKEND_PASS and XEN_PCIDEV_BACKEND_VPCI 2011-07-19 21:04:20 -04:00
passthrough.c xen/pciback: miscellaneous adjustments 2011-09-21 18:17:59 -04:00
pci_stub.c xen: Convert printks to pr_<level> 2013-06-28 11:19:58 -04:00
pciback_ops.c xen-pciback: Use pci_enable_msix_exact() instead of pci_enable_msix() 2014-02-28 15:26:27 -05:00
pciback.h x86/xen : Fix the wrong check in pciback 2013-01-15 15:56:48 -05:00
vpci.c xen: fix memory leak in __xen_pcibk_add_pci_dev() 2014-04-15 17:32:30 +01:00
xenbus.c xen: Convert printks to pr_<level> 2013-06-28 11:19:58 -04:00