Commit <f33ce12e9cd9cab7e6022e91d3765c33d99bf777> dropped unused code but missed one variable. Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx> --- src/qemu/qemu_snapshot.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/qemu/qemu_snapshot.c b/src/qemu/qemu_snapshot.c index 64b5838db8..413b31bae5 100644 --- a/src/qemu/qemu_snapshot.c +++ b/src/qemu/qemu_snapshot.c @@ -1944,7 +1944,6 @@ qemuSnapshotRevert(virDomainObj *vm, virDomainDef *inactiveConfig = NULL; g_autoptr(virQEMUDriverConfig) cfg = virQEMUDriverGetConfig(driver); qemuDomainSaveCookie *cookie; - virCPUDef *origCPU = NULL; unsigned int start_flags = VIR_QEMU_PROCESS_START_GEN_VMID; bool defined = false; @@ -2234,7 +2233,6 @@ qemuSnapshotRevert(virDomainObj *vm, } virObjectEventStateQueue(driver->domainEventState, event); virObjectEventStateQueue(driver->domainEventState, event2); - virCPUDefFree(origCPU); virDomainDefFree(config); virDomainDefFree(inactiveConfig); -- 2.31.1