]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: pollers: remove uneeded free in global init
authorWilliam Dauchy <w.dauchy@criteo.com>
Mon, 11 May 2020 13:20:03 +0000 (15:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 13 May 2020 09:45:37 +0000 (11:45 +0200)
commit42a50bd19be38962944377c73a7dc496fbd3bbc1
tree9acf5a4bccadbb8424ed15c0fa8a05b259a7c0ab
parentcece694bcca10ec4d81346131297e66e35477dca
BUG/MINOR: pollers: remove uneeded free in global init

Since commit d4604adeaa8c ("MAJOR: threads/fd: Make fd stuffs
thread-safe"), we init pollers per thread using a helper. It was still
correct for mono-thread mode until commit cd7879adc2c4 ("BUG/MEDIUM:
threads: Run the poll loop on the main thread too"). We now use a deinit
helper for all threads, making those free uneeded.

Only poll and select are affected by this very minor issue.

it could be backported from v1.8 to v2.1.

Fixes: cd7879adc2c4 ("BUG/MEDIUM: threads: Run the poll loop on the main
thread too")
Signed-off-by: William Dauchy <w.dauchy@criteo.com>
src/ev_poll.c
src/ev_select.c