From d688e01032737ce302ba22315110013f25eb034f Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Tue, 20 Apr 2021 17:05:47 +0200 Subject: [PATCH] BUG/MINOR: logs: free logsrv.conf.file on exit Config information has been added into the logsrv struct. The filename is duplicated and should be freed on exit. Introduced in the current release. This does not need to be backported. --- src/haproxy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/haproxy.c b/src/haproxy.c index 0e86586..7dc1e83 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -2278,6 +2278,7 @@ void deinit(void) list_for_each_entry_safe(log, logb, &global.logsrvs, list) { LIST_DELETE(&log->list); + free(log->conf.file); free(log); } list_for_each_entry_safe(wl, wlb, &cfg_cfgfiles, list) { -- 1.7.10.4