]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: snapshot: Move all cleanup of snapshot disk data to qemuDomainSnapshotDiskDataFree
authorPeter Krempa <pkrempa@redhat.com>
Wed, 5 Jun 2019 13:16:34 +0000 (15:16 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 10 Jun 2019 12:01:09 +0000 (14:01 +0200)
commita7087c929e1e27c2eb47a773bed78590bc8860bb
tree4b715ea5276a31b5a8f61937a106217d065c6e6d
parentacda1842361c465e5bd64e6b5a62469b2a85cac7
qemu: snapshot: Move all cleanup of snapshot disk data to qemuDomainSnapshotDiskDataFree

qemuDomainSnapshotDiskDataFree also removes the resources associated
with the disk data. Move the unlinking of the just-created file so that
we can unify the cleanup paths.

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