]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMigrationSrcNBDStorageCopyOne: Refactor cleanup
authorPeter Krempa <pkrempa@redhat.com>
Thu, 10 Mar 2022 12:09:58 +0000 (13:09 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 11 Mar 2022 14:17:06 +0000 (15:17 +0100)
commitda48fff4b97ac4f76f877cfbc334cc6b09d1ea76
tree917e66847deadadcb4a1816907836e31a9a7b91c
parentc1e2a134c8542a133f6cc9ceaa7ed5e59e7d3709
qemuMigrationSrcNBDStorageCopyOne: Refactor cleanup

Autofree the temporary string and shuffle around the success path to
avoid the 'cleanup' label.

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