On 02/21/2017 08:14 AM, Marc-André Lureau wrote:
> Use qvirtio_pci_device_find_slot() to avoid leaking the non-hp
> device. Add assert() to avoid further leaks in the future.
>
> Use qvirtio_pci_device_free() to correctly free QVirtioPCIDevice.
Yep, the hunk I mentioned in 28/30 probably belongs
Use qvirtio_pci_device_find_slot() to avoid leaking the non-hp
device. Add assert() to avoid further leaks in the future.
Use qvirtio_pci_device_free() to correctly free QVirtioPCIDevice.
Signed-off-by: Marc-André Lureau
---
tests/libqos/virtio-pci.c | 1 +