diff --git a/src/proto_uxst.c b/src/proto_uxst.c index 7828e3183..9c739c3fe 100644 --- a/src/proto_uxst.c +++ b/src/proto_uxst.c @@ -143,7 +143,7 @@ static int uxst_bind_listener(struct listener *listener, char *errmsg, int errle return err; uxst_close_return: - close(fd); + fd_delete(fd); uxst_return: if (msg && errlen) { char *path_str;