summaryrefslogtreecommitdiffstats
path: root/input/flow/ulogd_inpflow_NFCT.c
diff options
context:
space:
mode:
authorEric Leblond <eric@inl.fr>2009-01-14 23:08:38 +0100
committerEric Leblond <eric@inl.fr>2009-02-08 21:25:22 +0100
commitdb0c323299f67cf647184cc08d4a0efd5a662888 (patch)
tree6f93c6e21fa71999c643efc8da84d388aaf2c740 /input/flow/ulogd_inpflow_NFCT.c
parentd372b5a3bba98db6b70579751cac12dc01c23492 (diff)
Delete timer in destructor function.
This patch deletes the overrun timer in the destructor function.
Diffstat (limited to 'input/flow/ulogd_inpflow_NFCT.c')
-rw-r--r--input/flow/ulogd_inpflow_NFCT.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/input/flow/ulogd_inpflow_NFCT.c b/input/flow/ulogd_inpflow_NFCT.c
index 4605fd9..b8278af 100644
--- a/input/flow/ulogd_inpflow_NFCT.c
+++ b/input/flow/ulogd_inpflow_NFCT.c
@@ -901,6 +901,8 @@ static int destructor_nfct(struct ulogd_pluginstance *pi)
hashtable_destroy(cpi->ct_active);
+ ulogd_del_timer(&cpi->ov_timer);
+
rc = nfct_close(cpi->cth);
if (rc < 0)
return rc;