1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-08-24 17:49:28 +03:00

Bug #340: Fixes image lock when publish fails

This commit is contained in:
Ruben S. Montero
2010-09-08 22:37:59 +02:00
parent 3e8db30a9d
commit 0101c6b0a3

View File

@ -105,6 +105,8 @@ void RequestManager::ImagePublish::execute(
if (!response)
{
image->unlock();
goto error_publish;
}