1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-25 02:50:08 +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;
}