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-11-14 11:15:55 -05:00 
		 
	
		
			
			
			
			
			
			2016-11-14 11:15:55 -05:00 
		 
	
		
			
			
			
			
			
			2016-06-07 18:19:24 +03:00 
		 
	
		
			
			
			
			
			
			2016-02-23 12:43:05 +00:00 
		 
	
		
			
			
			
			
			
			2016-06-07 18:19:24 +03:00 
		 
	
		
			
			
			
			
			
			2016-06-07 18:19:24 +03: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 
		 
	
		
			
			
			
			
			
			2016-07-12 16:20:46 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-06 16:15:53 +11:00 
		 
	
		
			
			
			
			
			
			2016-09-23 10:29:40 +10:00 
		 
	
		
			
			
			
			
			
			2016-10-28 09:36:58 +11:00 
		 
	
		
			
			
			
			
			
			2016-10-06 16:15:53 +11:00 
		 
	
		
			
			
			
			
			
			2016-06-07 18:19:24 +03:00 
		 
	
		
			
			
			
			
			
			2015-03-10 14:02:20 +01:00 
		 
	
		
			
			
			
			
			
			2016-06-07 18:19:24 +03:00 
		 
	
		
			
			
			
			
			
			2015-01-13 11:47:57 +00:00 
		 
	
		
			
			
			
			
			
			2016-09-23 10:29:40 +10:00 
		 
	
		
			
			
			
			
			
			2016-09-23 10:29:40 +10:00 
		 
	
		
			
			
			
			
			
			2016-06-07 18:19:24 +03:00 
		 
	
		
			
			
			
			
			
			2016-02-23 12:43:05 +00:00 
		 
	
		
			
			
			
			
			
			2016-10-28 09:38:27 +11:00 
		 
	
		
			
			
			
			
			
			2016-10-06 16:15:53 +11:00 
		 
	
		
			
			
			
			
			
			2017-01-31 10:10:13 +11:00 
		 
	
		
			
			
			
			
			
			2016-10-06 16:15:40 +11:00 
		 
	
		
			
			
			
			
			
			2016-10-28 09:38:27 +11:00 
		 
	
		
			
			
			
			
			
			2016-10-28 09:38:27 +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 
		 
	
		
			
			
			
			
			
			2016-10-28 09:38:27 +11:00 
		 
	
		
			
			
			
			
			
			2015-03-10 14:02:20 +01:00 
		 
	
		
			
			
			
			
			
			2017-03-01 11:58:57 +04:00 
		 
	
		
			
			
			
			
			
			2017-03-01 11:57:04 +04:00 
		 
	
		
			
			
			
			
			
			2016-10-28 09:36:58 +11:00 
		 
	
		
			
			
			
			
			
			2016-10-28 09:36:58 +11:00