mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 06:06:59 -04: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue