mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-14 07:24:32 +00:00
BUG/MINOR: server: free srv.lb_nodes in free_server
lb_nodes is allocated for servers using lb_chash (balance random or hash-type consistent). It can be backported up to 1.8.
This commit is contained in:
parent
8695199aa8
commit
fb247946a1
@ -2197,6 +2197,7 @@ void free_server(struct server *srv)
|
||||
free(srv->curr_idle_thr);
|
||||
free(srv->resolvers_id);
|
||||
free(srv->addr_node.key);
|
||||
free(srv->lb_nodes);
|
||||
|
||||
if (srv->use_ssl == 1 || srv->check.use_ssl == 1 || (srv->proxy->options & PR_O_TCPCHK_SSL)) {
|
||||
if (xprt_get(XPRT_SSL) && xprt_get(XPRT_SSL)->destroy_srv)
|
||||
|
Loading…
Reference in New Issue
Block a user