mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-30 16:42:03 +00: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
@ -1458,6 +1458,7 @@ void proxy_free_defaults(struct proxy *defproxy)
|
|||||||
#if defined(CONFIG_HAP_TRANSPARENT)
|
#if defined(CONFIG_HAP_TRANSPARENT)
|
||||||
ha_free(&defproxy->conn_src.bind_hdr_name);
|
ha_free(&defproxy->conn_src.bind_hdr_name);
|
||||||
#endif
|
#endif
|
||||||
|
istfree(&defproxy->header_unique_id);
|
||||||
istfree(&defproxy->server_id_hdr_name);
|
istfree(&defproxy->server_id_hdr_name);
|
||||||
|
|
||||||
http_ext_clean(defproxy);
|
http_ext_clean(defproxy);
|
||||||
|
Loading…
Reference in New Issue
Block a user