mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-05 14:47:07 +02:00
BUG/MINOR: proxy: fix log_tag leak on deinit()
proxy log_tag wasn't cleaned up in free_proxy(), resulting in small memory leak if "log-tag" was used on a regular or default proxy. It may be backported to all stable versions.
This commit is contained in:
parent
99f3409582
commit
77b192ea36
@ -266,6 +266,8 @@ void free_proxy(struct proxy *p)
|
||||
free_logger(log);
|
||||
}
|
||||
|
||||
chunk_destroy(&p->log_tag);
|
||||
|
||||
lf_expr_deinit(&p->logformat);
|
||||
lf_expr_deinit(&p->logformat_sd);
|
||||
lf_expr_deinit(&p->format_unique_id);
|
||||
|
Loading…
Reference in New Issue
Block a user