mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 20:46:11 +02:00
MINOR: servers: Free [idle|safe|priv]_conns on exit.
Don't forget to free idle_conns, safe_conns and priv_conns on exit. This can be backported to 1.8.
This commit is contained in:
parent
6b77f49e78
commit
7fc3be76c7
@ -2408,6 +2408,9 @@ void deinit(void)
|
||||
free(s->agent.send_string);
|
||||
free(s->hostname_dn);
|
||||
free((char*)s->conf.file);
|
||||
free(s->idle_conns);
|
||||
free(s->priv_conns);
|
||||
free(s->safe_conns);
|
||||
|
||||
if (s->use_ssl || s->check.use_ssl) {
|
||||
if (xprt_get(XPRT_SSL) && xprt_get(XPRT_SSL)->destroy_srv)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user