mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
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>
This commit is contained in:
parent
b1e7807711
commit
b928e0d80c
@ -239,7 +239,6 @@ chDomainCreateXML(virConnectPtr conn,
|
||||
virDomainObjListRemove(driver->domains, vm);
|
||||
}
|
||||
virDomainObjEndAPI(&vm);
|
||||
chDriverUnlock(driver);
|
||||
return dom;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user