1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-09-23 17:45:17 +03:00

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

This commit is contained in:
John Ferlan
2013-01-22 17:09:25 -05:00
committed by Peter Krempa
parent 31e0de1a85
commit 2e774db80e

View File

@@ -4513,6 +4513,7 @@ static int lxcDomainOpenNamespace(virDomainPtr dom,
ret = nfds;
cleanup:
if (vm)
virObjectUnlock(vm);
return ret;
}