projects
/
platform
/
upstream
/
libnetfilter_queue.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0348976
)
Suppress double call of nfnl_subsys_close()
author
Eric Leblond
<eric@inl.fr>
Wed, 17 Dec 2008 15:29:56 +0000
(16:29 +0100)
committer
r.kubiak
<r.kubiak@samsung.com>
Mon, 16 Nov 2015 13:12:05 +0000
(14:12 +0100)
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>
src/libnetfilter_queue.c
patch
|
blob
|
history
diff --git
a/src/libnetfilter_queue.c
b/src/libnetfilter_queue.c
index e7fbfcc34d5800ee77f61d8eb8375779106a6889..f5611dd2d495e9603e589978e5aa540703114074 100644
(file)
--- 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);