Commit id '
865f479da' altered the logic to use a common test*ObjFindByName
helpers which would lock/unlock the test driver; however, a few cleanup paths
in that cleanup missed removing the Unlock, so remove it now.
Signed-off-by: John Ferlan <jferlan@redhat.com>
ret = 0;
cleanup:
- testDriverUnlock(privconn);
return ret;
}
cleanup:
if (privinterface)
virInterfaceObjUnlock(privinterface);
- testDriverUnlock(privconn);
return ret;
}
cleanup:
if (privinterface)
virInterfaceObjUnlock(privinterface);
- testDriverUnlock(privconn);
return ret;
}
if (privpool)
virStoragePoolObjUnlock(privpool);
testObjectEventQueue(privconn, event);
- testDriverUnlock(privconn);
return ret;
}
testObjectEventQueue(privconn, event);
if (privpool)
virStoragePoolObjUnlock(privpool);
- testDriverUnlock(privconn);
return ret;
}