From: Michal Privoznik Date: Mon, 28 Nov 2016 15:45:12 +0000 (+0100) Subject: network: Don't unlock non-locked network driver X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=03e3da2212a48fb97f22628aacfe1625977eb9af;p=libvirt.git network: Don't unlock non-locked network driver In dd7bfb2cdc5d I've removed locking of the network driver upon it's allocation. However, I forgot to remove one location of the driver unlock. Signed-off-by: Michal Privoznik --- diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c index 9d94d65b4e..073f5019a7 100644 --- a/src/network/bridge_driver.c +++ b/src/network/bridge_driver.c @@ -718,8 +718,6 @@ networkStateInitialize(bool privileged, return ret; error: - if (network_driver) - networkDriverUnlock(network_driver); networkStateCleanup(); goto cleanup; }