Merge branch 'mcatanzaro/gspawn-close' into 'main'

gspawn: close child_err_report_fd before exiting on error

See merge request GNOME/glib!4227
This commit is contained in:
Philip Withnall 2024-09-01 17:43:48 +00:00
commit 8fdb8c44c3

View File

@ -546,6 +546,8 @@ write_err_and_exit (gint fd, gint msg)
write_all (fd, &msg, sizeof(msg));
write_all (fd, &en, sizeof(en));
close (fd);
_exit (1);
}