summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-11-26 00:16:27 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2008-11-26 00:16:27 +0100
commit1bc6f65123550e52c7d37645709931b20ceff2b3 (patch)
treef5a0cdc1562b3b874cecf3c793a346f7405154b5 /src
parentb2edf895af82914ab09a842641a45b7a806e9b1e (diff)
downloadconntrack-tools-1bc6f65123550e52c7d37645709931b20ceff2b3.tar.gz
conntrack-tools-1bc6f65123550e52c7d37645709931b20ceff2b3.zip
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 <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r--src/run.c1
1 files changed, 1 insertions, 0 deletions
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 ----");