2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-03 07:45:47 +00:00

Plug a memory leak with ptrace-based intercept.

This commit is contained in:
Todd C. Miller
2023-03-10 13:32:56 -07:00
parent 31dad6b179
commit c61306e583
3 changed files with 9 additions and 3 deletions

View File

@@ -533,7 +533,7 @@ free_exec_closure(struct exec_closure *ec)
debug_decl(free_exec_closure, SUDO_DEBUG_EXEC);
/* Free any remaining intercept resources. */
intercept_cleanup();
intercept_cleanup(ec);
sudo_ev_base_free(ec->evbase);
sudo_ev_free(ec->backchannel_event);