Marc-André Lureau 80e1eea37a tests: fix virtio-blk-test leaks
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 <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2017-03-01 11:58:57 +04:00
..
2016-02-23 12:43:05 +00:00
2016-02-16 14:29:27 +00:00
2016-02-23 12:43:05 +00:00
2016-10-06 16:15:53 +11:00
2015-03-10 14:02:20 +01:00
2016-02-23 12:43:05 +00:00
2016-10-28 09:38:27 +11:00
2017-01-31 10:10:13 +11:00
2016-10-06 16:15:40 +11:00
2016-10-06 16:15:40 +11:00
2016-10-06 16:15:40 +11:00
2017-03-01 11:51:29 +04:00
2017-03-01 11:51:29 +04:00
2015-03-10 14:02:20 +01:00
2017-03-01 11:58:57 +04:00