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:
parent
84e3d65c3b
commit
9e7e9e55d9
@ -62,6 +62,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