On Wed, Jun 05, 2019 at 05:28:31PM +0200, Peter Krempa wrote:
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.
Pre-exisiting since commit cbb4d229, but touching the disk state from a
*Free function feels wrong.
Can you rename it first?
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_driver.c | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano