]> xenbits.xensource.com Git - libvirt.git/commit
qemu: use g_autoptr in qemuDomainDeviceDefValidate()
authorJonathon Jongsma <jjongsma@redhat.com>
Fri, 18 Oct 2019 15:30:10 +0000 (10:30 -0500)
committerCole Robinson <crobinso@redhat.com>
Thu, 14 Nov 2019 16:37:50 +0000 (11:37 -0500)
commitc69e6edea30b3852e11607a5969876a472287f75
tree70ca0058edba7a02fed317466ae4c5e6d1d7e927
parented831437af7c03e6c6e8143b0ee68d34ae94af25
qemu: use g_autoptr in qemuDomainDeviceDefValidate()

This allows us to simplify the function and avoid jumping to 'cleanup'.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
src/qemu/qemu_domain.c