mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-09 15:30:17 +00:00
BUG/MINOR: deinit: free fdinfo while doing cleanup
Both fdinfo and fdtab are allocated memory in init() while haproxy is starting, but only fdtab is freed in deinit(), fdinfo should also be freed. Signed-off-by: Godbach <nylzhaowei@gmail.com>
This commit is contained in:
parent
44f6539e47
commit
4cc1b0d4ef
@ -1198,6 +1198,7 @@ void deinit(void)
|
||||
free(global.pidfile); global.pidfile = NULL;
|
||||
free(global.node); global.node = NULL;
|
||||
free(global.desc); global.desc = NULL;
|
||||
free(fdinfo); fdinfo = NULL;
|
||||
free(fdtab); fdtab = NULL;
|
||||
free(oldpids); oldpids = NULL;
|
||||
free(global_listener_queue_task); global_listener_queue_task = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user