mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-08 22:15:21 +00:00
vz: remove redundant variable in prlsdkHandleVmAddedEvent
This commit is contained in:
parent
2abef7fb55
commit
3d211da27b
@ -2036,7 +2036,6 @@ prlsdkHandleVmAddedEvent(vzDriverPtr driver,
|
||||
unsigned char *uuid)
|
||||
{
|
||||
virDomainObjPtr dom = NULL;
|
||||
PRL_HANDLE sdkdom = PRL_INVALID_HANDLE;
|
||||
|
||||
if (!(dom = virDomainObjListFindByUUID(driver->domains, uuid)) &&
|
||||
!(dom = prlsdkAddDomainByUUID(driver, uuid)))
|
||||
@ -2048,7 +2047,6 @@ prlsdkHandleVmAddedEvent(vzDriverPtr driver,
|
||||
cleanup:
|
||||
if (dom)
|
||||
virObjectUnlock(dom);
|
||||
PrlHandle_Free(sdkdom);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user