2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 22:35:10 +00:00

If we free the default base in sudo_ev_base_free(), reset the default

base to NULL.
This commit is contained in:
Todd C. Miller
2017-07-14 10:09:58 -06:00
parent d2a0bfbb12
commit 7f8765d327
3 changed files with 4 additions and 2 deletions

View File

@@ -1118,7 +1118,6 @@ free_exec_closure_pty(struct exec_closure_pty *ec)
{
debug_decl(free_exec_closure_pty, SUDO_DEBUG_EXEC)
sudo_ev_base_setdef(NULL);
sudo_ev_base_free(ec->evbase);
sudo_ev_free(ec->backchannel_event);
sudo_ev_free(ec->sigint_event);