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

bug: memory leak when a VM has a wrong template

This commit is contained in:
Ruben S. Montero 2010-05-06 00:24:29 +02:00
parent 85be6f3f84
commit 0bf7092ffc

View File

@ -192,6 +192,8 @@ int VirtualMachinePool::allocate (
NebulaLog::log("ONE", Log::ERROR, oss);
free(error_msg);
delete vm;
return -2;
}