mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
feature #1483: Prevents deleting of NULL pointer
This commit is contained in:
parent
617b3c12e8
commit
abb62dddeb
@ -661,7 +661,10 @@ int Scheduler::do_scheduled_actions()
|
||||
|
||||
if (vatt == 0)
|
||||
{
|
||||
delete *it;
|
||||
if ( *it != 0 )
|
||||
{
|
||||
delete *it;
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user