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

bug : minor memory leak for vms with multiple history records

(cherry picked from commit 2de6db705e400bb0bd7465d50a36c10338d538a1)
This commit is contained in:
Ruben S. Montero 2010-04-24 16:51:08 +02:00
parent 84e3d65c3b
commit 9e7e9e55d9

View File

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