mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
vz: remove redundant variable in prlsdkHandleVmAddedEvent
This commit is contained in:
committed by
Maxim Nestratov
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user