From 3ff48f4c0fd9548b4da53e3e0274497b15fb5212 Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Mon, 8 Oct 2012 09:35:35 +0200 Subject: [PATCH] don't dereference NULL --- dunst.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dunst.c b/dunst.c index e645eeb..6a37c40 100644 --- a/dunst.c +++ b/dunst.c @@ -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