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

@@ -186,7 +186,7 @@ char **enable_monitor(char *envp[], const char *dso);
/* exec_intercept.c */
void *intercept_setup(int fd, struct sudo_event_base *evbase, struct command_details *details);
void intercept_cleanup(void);
void intercept_cleanup(struct exec_closure *ec);
/* exec_iolog.c */
bool log_ttyin(const char *buf, unsigned int n, struct io_buffer *iob);