summaryrefslogtreecommitdiffstats
path: root/src/libnetfilter_queue.c
diff options
context:
space:
mode:
authorEric Leblond <eric@inl.fr>2008-12-17 16:29:56 +0100
committerEric Leblond <eric@inl.fr>2008-12-19 22:26:49 +0100
commit6a5baf1b81dc92211ca48cad914f62fa2be7b467 (patch)
treee5359f0cffe09d60f8ec279ec80d03bef8813c3f /src/libnetfilter_queue.c
parentae8ce06e13f590f4328b5e08287c0c9c9f47bbc7 (diff)
Suppress double call of nfnl_subsys_close()
nfnl_close() is calling nfnl_subsys_close() for all available subsys. Thus it is not necessary to call it in the nfq_close() function. Signed-off-by: Eric Leblond <eric@inl.fr>
Diffstat (limited to 'src/libnetfilter_queue.c')
-rw-r--r--src/libnetfilter_queue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libnetfilter_queue.c b/src/libnetfilter_queue.c
index e7fbfcc..f5611dd 100644
--- a/src/libnetfilter_queue.c
+++ b/src/libnetfilter_queue.c
@@ -252,7 +252,6 @@ int nfq_close(struct nfq_handle *h)
{
int ret;
- nfnl_subsys_close(h->nfnlssh);
ret = nfnl_close(h->nfnlh);
if (ret == 0)
free(h);