Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy(a)virtuozzo.com>
---
src/vz/vz_sdk.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c
index 092954d..c9f89ab 100644
--- a/src/vz/vz_sdk.c
+++ b/src/vz/vz_sdk.c
@@ -1781,7 +1781,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)))
@@ -1793,7 +1792,6 @@ prlsdkHandleVmAddedEvent(vzDriverPtr driver,
cleanup:
if (dom)
virObjectUnlock(dom);
- PrlHandle_Free(sdkdom);
return;
}
--
1.8.3.1