From db0c323299f67cf647184cc08d4a0efd5a662888 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Wed, 14 Jan 2009 23:08:38 +0100 Subject: Delete timer in destructor function. This patch deletes the overrun timer in the destructor function. --- input/flow/ulogd_inpflow_NFCT.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3