Commit cea37f87519ca3172a4e8ddd3ffcd2b4232b341f
Committed by
David Vrabel
1 parent
4461bbc05b
Exists in
master
and in
13 other branches
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>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff