]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
eloop: Always free the pollfd buffer when clearing events
authorRoy Marples <roy@marples.name>
Fri, 29 Jan 2021 11:13:43 +0000 (11:13 +0000)
committerRoy Marples <roy@marples.name>
Fri, 29 Jan 2021 11:13:43 +0000 (11:13 +0000)
commita9cb061e3832a381b02bd9927daf5ef7a2adce66
tree142794e94f5d81f60813d4cda8f2c4b29d73c806
parent14d3b511ee71c1fb39e383949384a7a43fac0263
eloop: Always free the pollfd buffer when clearing events

And set the flag to re-create it before the next run.
This allows us to always ensure it's small if the prior run
used more signals and fds.
src/eloop.c