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.
This commit is contained in:
Amaury Denoyelle 2021-04-20 17:05:47 +02:00
parent fb247946a1
commit d688e01032

View File

@ -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) {