don't dereference NULL

This commit is contained in:
Sascha Kruse 2012-10-08 09:35:35 +02:00
parent 2b73d80e54
commit 3ff48f4c0f

View File

@ -345,6 +345,8 @@ void update_lists()
return;
}
n = (notification *) to_move->data;
if (!n)
return;
n->start = now;
/* TODO get notifications pushed back into