diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c index be164e29cd7f00cdf8850d14b90ec8e3e719fa33..500c6697d07d2dd89675bfe3b4509c2746f8d23b 100644 --- a/src/vz/vz_sdk.c +++ b/src/vz/vz_sdk.c @@ -3910,6 +3910,9 @@ prlsdkCreateVm(vzDriverPtr driver, virDomainDefPtr def) cleanup: PrlHandle_Free(sdkdom); + PrlHandle_Free(srvconf); + PrlHandle_Free(result); + return ret; } @@ -4024,6 +4027,7 @@ prlsdkCreateCt(virConnectPtr conn, virDomainDefPtr def) cleanup: PrlHandle_Free(sdkdom); + PrlHandle_Free(result); return ret; }