qemudDomainCreate: correct a slightly misdirected goto

* src/qemu/qemu_driver.c (qemudDomainCreate): Goto cleanup,
not "endjob", since we know "vm" is already NULL.  No semantic change.
This commit is contained in:
Jim Meyering 2010-04-27 22:16:02 +02:00
parent 98fb83ce25
commit 5eec84aaa3

View File

@ -4047,7 +4047,7 @@ static virDomainPtr qemudDomainCreate(virConnectPtr conn, const char *xml,
virDomainRemoveInactive(&driver->domains,
vm);
vm = NULL;
goto endjob;
goto cleanup;
}
event = virDomainEventNewFromObj(vm,