diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 10f90aaac4988ff9fcca061273161f1fd87f9c45..59b0df95021124878666b288d628a190a2a391a4 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -11494,7 +11494,8 @@ endjob: _("resuming after snapshot failed")); } - return -1; + ret = -1; + goto cleanup; } if (vm && thaw != 0 && qemuDomainSnapshotFSThaw(driver, vm, thaw > 0) < 0) {