2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-05 08:45:28 +00:00

Move ptyname to struct exec_closure

This commit is contained in:
Todd C. Miller
2023-03-24 14:56:45 -06:00
parent 22776b0be6
commit f9b1beced2
5 changed files with 37 additions and 38 deletions

View File

@@ -551,6 +551,7 @@ free_exec_closure(struct exec_closure *ec)
sudo_ev_free(ec->sigcont_event);
sudo_ev_free(ec->siginfo_event);
sudo_ev_free(ec->sigwinch_event);
free(ec->ptyname);
debug_return;
}