BUG/MEDIUM: logs: Only attempt to free startup_logs once.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 7 Mar 2019 13:19:24 +0000 (14:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 7 Mar 2019 13:59:34 +0000 (14:59 +0100)
commit7c49711d6041d1afc42d5b310ddfd7d6f6817c3c
tree2de1faf16e5d7e055cf4840f510e77c7d02a9483
parent0cf33176bdb84fe8633f634620ce543b7ffe15d1
BUG/MEDIUM: logs: Only attempt to free startup_logs once.

deinit_log_buffers() can be called once per thread, however startup_logs
is common to all threads. So only attempt to free it once.

This should be backported to 1.9 and 1.8.
src/log.c