Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bus/pci: fix leak for unbound devices
[ upstream commit 7c83a1e ] For devices not bound to any Linux kernel module, we leak a pci object since it is never added to the PCI bus device list. Fixes: c79a1c6 ("bus/pci: optimize bus scan") Reported-by: Owen Hilyard <ohilyard@iol.unh.edu> Signed-off-by: David Marchand <david.marchand@redhat.com>
- Loading branch information