summaryrefslogtreecommitdiff
path: root/src/ch
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2022-02-10 15:53:15 +0100
committerMichal Privoznik <mprivozn@redhat.com>2022-02-11 10:48:02 +0100
commitb928e0d80c902b2841aee0a3660de7e4b3868083 (patch)
tree20e7553a23e12d8ca2535938c4301adb4053f1b0 /src/ch
parentb1e7807711837a93dfea3bb9ee18eaf2fd80633f (diff)
downloadlibvirt-b928e0d80c902b2841aee0a3660de7e4b3868083.tar.gz
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 <mprivozn@redhat.com> Reviewed-by: Tim Wiederhake <twiederh@redhat.com>
Diffstat (limited to 'src/ch')
-rw-r--r--src/ch/ch_driver.c1
1 files changed, 0 insertions, 1 deletions
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;
}