From 1bc6f65123550e52c7d37645709931b20ceff2b3 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 26 Nov 2008 00:16:27 +0100 Subject: run: release fds structure in the exit path This patch adds the missing destroy_fds() in the exit path. Signed-off-by: Pablo Neira Ayuso --- src/run.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/run.c b/src/run.c index 34d20b0..ec110d7 100644 --- a/src/run.c +++ b/src/run.c @@ -46,6 +46,7 @@ void killer(int foo) STATE(mode)->kill(); nfct_close(STATE(dump)); /* cache_wt needs this here */ + destroy_fds(STATE(fds)); unlink(CONFIG(lockfile)); dlog(LOG_NOTICE, "---- shutdown received ----"); -- cgit v1.2.3