]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: hotplug: Simplify cleanup in qemuDomainChangeMediaLegacy
authorPeter Krempa <pkrempa@redhat.com>
Thu, 5 Sep 2019 12:47:10 +0000 (14:47 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 6 Sep 2019 06:12:21 +0000 (08:12 +0200)
commit5ef886e9bca11319cd57300bdd0dde3fdc7cb4e9
tree77c3825c8e531cc86e5e5ab87830df48e08eb602
parentf709377301b919a9fcbfc366e33057f7848bee28
qemu: hotplug: Simplify cleanup in qemuDomainChangeMediaLegacy

Switch to using VIR_AUTOFREE and remove the cleanup label.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_hotplug.c