提交 2e774db8 编写于 作者: J John Ferlan 提交者: Peter Krempa

lxc_driver: Need to check for vm before calling virDomainUnlock(vm)

上级 31e0de1a
......@@ -4513,7 +4513,8 @@ static int lxcDomainOpenNamespace(virDomainPtr dom,
ret = nfds;
cleanup:
virObjectUnlock(vm);
if (vm)
virObjectUnlock(vm);
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册