mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
bug : minor memory leak for vms with multiple history records
This commit is contained in:
1 parent
ec52449a11
commit
2de6db705e
1 file changed
+5
@@ -64,6 +64,11 @@ VirtualMachine::~VirtualMachine()
|
||||
delete history;
|
||||
}
|
||||
|
||||
if ( previous_history != 0 )
|
||||
{
|
||||
delete previous_history;
|
||||
}
|
||||
|
||||
if ( _log != 0 )
|
||||
{
|
||||
delete _log;
|
||||
|
||||
Reference in new issue
Block a user