mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-17 08:54:41 +00:00
MINOR: deinit: fix memory leak
deinit() did not free the conf.file member of server objects.
This commit is contained in:
parent
9dc1c61c43
commit
34c0179464
@ -1175,6 +1175,7 @@ void deinit(void)
|
|||||||
free(s->check.bo);
|
free(s->check.bo);
|
||||||
free(s->agent.bi);
|
free(s->agent.bi);
|
||||||
free(s->agent.bo);
|
free(s->agent.bo);
|
||||||
|
free((char*)s->conf.file);
|
||||||
free(s);
|
free(s);
|
||||||
s = s_next;
|
s = s_next;
|
||||||
}/* end while(s) */
|
}/* end while(s) */
|
||||||
|
Loading…
Reference in New Issue
Block a user