diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2014-04-01 12:15:59 +0200 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2014-04-15 18:32:30 +0200 |
commit | cea37f87519ca3172a4e8ddd3ffcd2b4232b341f (patch) | |
tree | e9f0960879b3f2dca738eb363be06b0d47e7b3c1 /drivers/xen/xen-pciback/pciback_ops.c | |
parent | x86/xen: Fix 32-bit PV guests's usage of kernel_stack (diff) | |
download | linux-cea37f87519ca3172a4e8ddd3ffcd2b4232b341f.tar.xz linux-cea37f87519ca3172a4e8ddd3ffcd2b4232b341f.zip |
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>
Diffstat (limited to 'drivers/xen/xen-pciback/pciback_ops.c')
0 files changed, 0 insertions, 0 deletions