]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Don't free PCI device if adding it to activePciHostdevs fails
authorJiri Denemark <jdenemar@redhat.com>
Fri, 30 Nov 2012 15:52:03 +0000 (16:52 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 5 Dec 2012 12:45:34 +0000 (13:45 +0100)
commitea1a9b5fddd1562abf31eb5c2502879bfd25903e
tree34c5706e33219675a6611baaebd6ae4a28b3ecab
parent935550c6d35518371a97f94a1cf57081e02403e1
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.
src/qemu/qemu_hostdev.c