diff --git a/src/cxt.c b/src/cxt.c index c8032a2..1cdf527 100644 --- a/src/cxt.c +++ b/src/cxt.c @@ -296,9 +296,6 @@ void end_sessions() cxt = cxt->next; del_connection(tmp, &bucket[iter]); - if (cxt == NULL) { - bucket[iter] = NULL; - } } else { cxt = cxt->next; }