]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuConnectDomainXMLToNative: Refactor cleanup
authorPeter Krempa <pkrempa@redhat.com>
Mon, 16 May 2022 11:27:41 +0000 (13:27 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 17 May 2022 17:31:07 +0000 (19:31 +0200)
commitd810ae2faea12b032f98c67846ea9192478abbde
tree029c1076bd476156ec2afe6f8aae1e38f448bcce
parent343920794d5aca3771d0aaec202700f38cfaf926
qemuConnectDomainXMLToNative: Refactor cleanup

Automatically free the 'vm' temporary domain object and remove the
'cleanup' label and 'ret' helper variable.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_driver.c