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

Feature #3383: Fix memory leak

This commit is contained in:
Carlos Martín 2015-02-09 12:29:36 +01:00
parent 07834dc6da
commit 6a87f3f1e7

View File

@ -342,6 +342,8 @@ int VirtualMachinePool::allocate (
if (insert_index(deploy_id, -1, false) == -1) //Set import in progress
{
delete vm;
error_str = "Virtual Machine " + deploy_id + " already imported.";
return -1;
}