mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
CLEANUP: Free old_argv on deinit
This allocation technically is always reachable and cannot leak, however other global variables such as `oldpids` are already being freed. This is in an attempt to get HAProxy to a state where there are zero live allocations after a clean exit.
This commit is contained in:
parent
00f00cf8fd
commit
9e0c2f34dc
@ -2680,6 +2680,7 @@ void deinit(void)
|
|||||||
free(global.node); global.node = NULL;
|
free(global.node); global.node = NULL;
|
||||||
free(global.desc); global.desc = NULL;
|
free(global.desc); global.desc = NULL;
|
||||||
free(oldpids); oldpids = NULL;
|
free(oldpids); oldpids = NULL;
|
||||||
|
free(old_argv); old_argv = NULL;
|
||||||
free(localpeer); localpeer = NULL;
|
free(localpeer); localpeer = NULL;
|
||||||
task_destroy(idle_conn_task);
|
task_destroy(idle_conn_task);
|
||||||
idle_conn_task = NULL;
|
idle_conn_task = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user