mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-22 23:02:34 -04: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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Reference in a new issue