1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

M #: release vnet lock if IPAM remove fails (#4692)

This commit is contained in:
Christian González 2020-05-11 17:21:09 +02:00 committed by GitHub
parent c6b182a795
commit 33485ee842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -349,6 +349,7 @@ int VirtualNetworkDelete::drop(PoolObjectSQL * object, bool r, RequestAttributes
if (rc != 0)
{
vnpool->update(vnet);
vnet->unlock();
return rc;
}