summaryrefslogtreecommitdiffstats
path: root/libiptc/libiptc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiptc/libiptc.c')
-rw-r--r--libiptc/libiptc.c4
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;
}