I tested, everything is ok пн, 13 мая 2019 г. в 20:24, Tim Duesterhus <t...@bastelstu.be>:
> Oops, my patch was incomplete, because I noticed that I missed one > location after creating the commit and forgot to amend after making > the necessary adjustments. > > So here's version 2 that fixes the leak on SIGTERM in addition to the > leak on SIGUSR2. > > Best regards > Tim Duesterhus > > Tim Duesterhus (2): > BUG/MINOR: mworker: Prevent potential use-after-free in > mworker_env_to_proc_list > BUG/MINOR: mworker: Fix memory leak of mworker_proc members > > include/proto/mworker.h | 2 ++ > src/haproxy.c | 3 ++- > src/mworker-prog.c | 19 +------------------ > src/mworker.c | 36 +++++++++++++++++++++++++++++------- > 4 files changed, 34 insertions(+), 26 deletions(-) > > -- > 2.21.0 > > >