1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-04-05 07:13:08 +02:00

gspawn: use close_and_invalidate more

This commit is contained in:
Michael Catanzaro 2021-12-14 13:36:24 -06:00
parent 2c07c17840
commit ac8d1aa247

@ -1798,7 +1798,7 @@ do_exec (gint child_err_report_fd,
child_err_report_fd = safe_dup (child_err_report_fd); child_err_report_fd = safe_dup (child_err_report_fd);
safe_dup2 (source_fds[i], target_fds[i]); safe_dup2 (source_fds[i], target_fds[i]);
(void) close (source_fds[i]); close_and_invalidate (&source_fds[i]);
} }
} }
} }