diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c index e62bf8c79e..802a9f8eab 100644 --- a/src/openvz/openvz_conf.c +++ b/src/openvz/openvz_conf.c @@ -673,6 +673,7 @@ int openvzLoadDomains(struct openvz_driver *driver) { goto cleanup; } + virDomainObjUnlock(dom); dom = NULL; }