aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/util.c')
-rw-r--r--src/libutil/util.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libutil/util.c b/src/libutil/util.c
index 832b7dfb7..704d65041 100644
--- a/src/libutil/util.c
+++ b/src/libutil/util.c
@@ -563,10 +563,6 @@ rspamd_sockets_list (const gchar *credits, guint16 port,
freeaddrinfo (res);
if (result == NULL) {
- if (fd != -1) {
- close (fd);
- }
-
goto err;
}
}