mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-08 18:36:17 +01:00
gspawn: use close_and_invalidate more
This commit is contained in:
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);
|
||||
|
||||
safe_dup2 (source_fds[i], target_fds[i]);
|
||||
(void) close (source_fds[i]);
|
||||
close_and_invalidate (&source_fds[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user