bug: memory leak when a VM has a wrong template

This commit is contained in:
Ruben S. Montero committed 2010-05-06 00:24:29 +02:00
1 parent 85be6f3f84
commit 0bf7092ffc
1 file changed
+2
+2
View File
@@ -192,6 +192,8 @@ int VirtualMachinePool::allocate (
NebulaLog::log("ONE", Log::ERROR, oss);
free(error_msg);
delete vm;
return -2;
}