mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 14:17:30 -04:00
BUG/MINOR: proxy: fix header_unique_id leak on deinit()
proxy header_unique_id wasn't cleaned up in proxy_free_defaults(), resulting in small memory leak if "unique-id-header" was used on a default proxy section. It may be backported to all stable versions.
This commit is contained in:
parent
1aa219078d
commit
847c406b9a
1 changed files with 1 additions and 0 deletions
|
|
@ -1458,6 +1458,7 @@ void proxy_free_defaults(struct proxy *defproxy)
|
|||
#if defined(CONFIG_HAP_TRANSPARENT)
|
||||
ha_free(&defproxy->conn_src.bind_hdr_name);
|
||||
#endif
|
||||
istfree(&defproxy->header_unique_id);
|
||||
istfree(&defproxy->server_id_hdr_name);
|
||||
|
||||
http_ext_clean(defproxy);
|
||||
|
|
|
|||
Loading…
Reference in a new issue