1
0
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:
Ruben S. Montero 2013-02-08 20:24:27 +01:00
parent 617b3c12e8
commit abb62dddeb

View File

@ -661,7 +661,10 @@ int Scheduler::do_scheduled_actions()
if (vatt == 0)
{
delete *it;
if ( *it != 0 )
{
delete *it;
}
continue;
}