]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Alter error path cleanup for qemuDomainAttachRNGDevice
authorJohn Ferlan <jferlan@redhat.com>
Thu, 14 Jul 2016 22:13:50 +0000 (18:13 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 19 Jul 2016 11:13:09 +0000 (07:13 -0400)
commit47208776be883ae8e55ea95a7673b47fe112c51f
treeabc11ccf1c1223bd35e63a8b14fc1e92f97cb2c7
parent05bc30d2bba8e7074e5bd1888c082edb567e07d0
qemu: Alter error path cleanup for qemuDomainAttachRNGDevice

Based on recent review comment - rather than have a spate of goto failxxxx,
change to a boolean based model. Ensures that the original error can be
preserved and cleanup is a bit more orderly if more objects are added.
src/qemu/qemu_hotplug.c