Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy(a)virtuozzo.com>
---
src/vz/vz_sdk.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c
index 603a965..563fc6c 100644
--- a/src/vz/vz_sdk.c
+++ b/src/vz/vz_sdk.c
@@ -3743,6 +3743,9 @@ prlsdkCreateVm(vzDriverPtr driver, virDomainDefPtr def)
cleanup:
PrlHandle_Free(sdkdom);
+ PrlHandle_Free(srvconf);
+ PrlHandle_Free(result);
+
return ret;
}
@@ -3809,6 +3812,7 @@ prlsdkCreateCt(vzDriverPtr driver, virDomainDefPtr def)
cleanup:
PrlHandle_Free(sdkdom);
+ PrlHandle_Free(result);
return ret;
}
--
1.8.3.1