From: Michal Privoznik Date: Thu, 10 Feb 2022 14:53:15 +0000 (+0100) Subject: chDomainCreateXML: Drop spurious driver unlock X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b928e0d80c902b2841aee0a3660de7e4b3868083;p=libvirt.git chDomainCreateXML: Drop spurious driver unlock Inside chDomainCreateXML(), towards the end, the driver is unlocked even though there is no corresponding driver lock call before that. Drop it. Signed-off-by: Michal Privoznik Reviewed-by: Tim Wiederhake --- diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c index 2ed33c3446..b023f7e3d3 100644 --- a/src/ch/ch_driver.c +++ b/src/ch/ch_driver.c @@ -239,7 +239,6 @@ chDomainCreateXML(virConnectPtr conn, virDomainObjListRemove(driver->domains, vm); } virDomainObjEndAPI(&vm); - chDriverUnlock(driver); return dom; }