From b928e0d80c902b2841aee0a3660de7e4b3868083 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Thu, 10 Feb 2022 15:53:15 +0100 Subject: [PATCH] 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 --- src/ch/ch_driver.c | 1 - 1 file changed, 1 deletion(-) 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; }