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

Feature #407: Fix small mem. leak in Image

This commit is contained in:
Carlos Martín 2011-03-08 18:11:56 +01:00
parent 351ad62639
commit daf7b709d2

View File

@ -82,10 +82,12 @@ int ImagePool::allocate (
{
ostringstream oss;
oss << "NAME is already taken by image " << img_aux->get_oid() << ".";
oss << "NAME is already taken by IMAGE " << img_aux->get_oid() << ".";
error_str = oss.str();
*oid = -1;
delete img;
}
else
{