---
src/xenapi/xenapi_driver.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/xenapi/xenapi_driver.c b/src/xenapi/xenapi_driver.c
index 9a38e3f..7d0b748 100644
--- a/src/xenapi/xenapi_driver.c
+++ b/src/xenapi/xenapi_driver.c
@@ -172,9 +172,12 @@ xenapiOpen (virConnectPtr conn, virConnectAuthPtr auth, int flags
ATTRIBUTE_UNUS
VIR_FREE(password);
if (privP != NULL) {
+ virCapabilitiesFree(privP->caps);
+
if (privP->session != NULL)
xenSessionFree(privP->session);
+ VIR_FREE(privP->url);
VIR_FREE(privP);
}
--
1.6.3.3