projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb24794
)
BUG/MINOR: logs: free logsrv.conf.file on exit
author
Amaury Denoyelle
<adenoyelle@haproxy.com>
Tue, 20 Apr 2021 15:05:47 +0000
(17:05 +0200)
committer
Amaury Denoyelle
<adenoyelle@haproxy.com>
Wed, 21 Apr 2021 09:00:29 +0000
(11:00 +0200)
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
patch
|
blob
|
history
diff --git
a/src/haproxy.c
b/src/haproxy.c
index
0e86586
..
7dc1e83
100644
(file)
--- 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) {