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

bug : minor memory leak for vms with multiple history records

This commit is contained in:
Ruben S. Montero 2010-04-24 16:51:08 +02:00
parent ec52449a11
commit 2de6db705e

View File

@ -64,6 +64,11 @@ VirtualMachine::~VirtualMachine()
delete history;
}
if ( previous_history != 0 )
{
delete previous_history;
}
if ( _log != 0 )
{
delete _log;