From d75e72c7c1453458c5c34b39a81a7b3f57314d0f Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sat, 26 May 2012 12:00:02 +0200 Subject: [PATCH] Add NULL-Pointer check before starting the work. --- citadel/journaling.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/citadel/journaling.c b/citadel/journaling.c index 33b840732..6d68d0874 100644 --- a/citadel/journaling.c +++ b/citadel/journaling.c @@ -130,6 +130,8 @@ void JournalRunQueueMsg(struct jnlq *jmsg) { static int seq = 0; int i; + if (jmsg == NULL) + return; journal_recps = validate_recipients(config.c_journal_dest, NULL, 0); if (journal_recps != NULL) { -- 2.30.2