qemu: Don't free PCI device if adding it to activePciHostdevs fails
The device is still referenced from pcidevs and freeing it would leave an invalid pointer there.
Showing
想要评论请 注册 或 登录
The device is still referenced from pcidevs and freeing it would leave an invalid pointer there.