From: Arran Cudbard-Bell Date: Thu, 13 Aug 2015 14:39:30 +0000 (-0400) Subject: Fix CID #1316262 X-Git-Tag: release_3_0_10~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=256c8d1c6ca13a94e6daf5d3671725277a7a33ac;p=thirdparty%2Ffreeradius-server.git Fix CID #1316262 --- diff --git a/src/main/client.c b/src/main/client.c index 8f42ffc143e..508c3740f90 100644 --- a/src/main/client.c +++ b/src/main/client.c @@ -89,6 +89,8 @@ void client_free(RADCLIENT *client) * from the queue and delete it. */ client = fr_fifo_peek(deleted_clients); + rad_assert(client != NULL); + if ((client->created + 120) >= now) return; client = fr_fifo_pop(deleted_clients);