mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05:00
BUG/MEDIUM: mworker: does not deinit anymore
Does not use the deinit() function during a reload, it's dangerous and might be subject to double free, segfault and hazardous behavior if it's called twice in the case of a execvp fail.
This commit is contained in:
parent
2f8b31c2c6
commit
fade49d8fb
1 changed files with 0 additions and 1 deletions
|
|
@ -648,7 +648,6 @@ static void mworker_reload()
|
|||
next_argv[next_argc++] = NULL;
|
||||
}
|
||||
|
||||
deinit(); /* we don't want to leak FD there */
|
||||
Warning("Reexecuting Master process\n");
|
||||
execvp(next_argv[0], next_argv);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue