diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-04 15:27:53 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2007-12-04 15:27:53 +0000 |
commit | f791a5d77d09a689da95e9899cb0eb15b1401ddf (patch) | |
tree | 41dd1d3be15d93239054e084f40eb01f587368a5 /libiptc | |
parent | df1ef3862761e534c6cec6bd9370285cb5909dd0 (diff) |
Fix sockfd use accounting for kernels without autoloading
Diffstat (limited to 'libiptc')
-rw-r--r-- | libiptc/libiptc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c index e7ffb01b..05985050 100644 --- a/libiptc/libiptc.c +++ b/libiptc/libiptc.c @@ -866,10 +866,6 @@ TC_INIT(const char *tablename) CHECK(h); return h; error: - if (--sockfd_use == 0) { - close(sockfd); - sockfd = -1; - } TC_FREE(&h); return NULL; } |