diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index eb07b7a3a4..3a70b1851e 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -5790,7 +5790,7 @@ qemuDomainPinIOThread(virDomainPtr dom, goto cleanup; if (virDomainObjGetDefs(vm, flags, &def, &persistentDef) < 0) - goto cleanup; + goto endjob; if (!(pcpumap = virBitmapNewData(cpumap, maplen))) goto endjob;