feature #1483: Prevents deleting of NULL pointer

This commit is contained in:
Ruben S. Montero committed 2013-02-08 20:24:27 +01:00
1 parent 617b3c12e8
commit abb62dddeb
1 file changed
+4 -1
+4 -1
View File
@@ -661,7 +661,10 @@ int Scheduler::do_scheduled_actions()
if (vatt == 0)
{
delete *it;
if ( *it != 0 )
{
delete *it;
}
continue;
}