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:
parent
ec52449a11
commit
2de6db705e
@ -64,6 +64,11 @@ VirtualMachine::~VirtualMachine()
|
||||
delete history;
|
||||
}
|
||||
|
||||
if ( previous_history != 0 )
|
||||
{
|
||||
delete previous_history;
|
||||
}
|
||||
|
||||
if ( _log != 0 )
|
||||
{
|
||||
delete _log;
|
||||
|
Loading…
x
Reference in New Issue
Block a user