core/execute: drop redundant close of root_directory_fd

exec_params_shallow_clear() will take care of it.
This commit is contained in:
Mike Yuan
2026-03-01 13:55:30 +01:00
parent abffc0ef43
commit b702bbc31c
-1
View File
@@ -2936,7 +2936,6 @@ void exec_params_deep_clear(ExecParameters *p) {
p->stdin_fd = safe_close(p->stdin_fd);
p->stdout_fd = safe_close(p->stdout_fd);
p->stderr_fd = safe_close(p->stderr_fd);
p->root_directory_fd = safe_close(p->root_directory_fd);
p->notify_socket = mfree(p->notify_socket);