commit | 333d7979cdf2604396cd6a61f8ebc9256e088e9e | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Tue Sep 11 10:06:28 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Sep 11 10:23:24 2018 +0200 |
tree | 28113afeb4451eedc43090111f7f6b8b1b6c48b8 | |
parent | e22f11ff47cc5ccc7ad7cab3f0ec9b094bcc5997 [diff] [blame] |
MEDIUM: threads: close the thread-waker pipe during deinit In order to avoid FD leaking, we close the pipe used to wake the threads up during per thread deinit.
diff --git a/src/fd.c b/src/fd.c index cbb7b47..1a5419d 100644 --- a/src/fd.c +++ b/src/fd.c
@@ -497,6 +497,8 @@ { free(fd_updt); fd_updt = NULL; + close(poller_rd_pipe); + close(poller_wr_pipe[tid]); } /*