gspawn: Fix leak of internal pipe with G_SPAWN_LEAVE_DESCRIPTORS_OPEN
authorPaul Barbieri <paul.barbieri@baesystems.com>
Mon, 1 Jul 2013 20:10:28 +0000 (21:10 +0100)
committerColin Walters <walters@verbum.org>
Mon, 1 Jul 2013 20:10:28 +0000 (21:10 +0100)
commite55ccf7338f2eb68f08d648855a4a92a091df690
treede8df1f6b85859ed53d3b90e395960df9e657088
parent1891eafd1da6f31e6b8876b2882800a5c2b92148
gspawn: Fix leak of internal pipe with G_SPAWN_LEAVE_DESCRIPTORS_OPEN

Even when the app author specifies G_SPAWN_LEAVE_DESCRIPTORS_OPEN,
we should avoid leaking our internal pipe machinery into the
child.

Commit message written by: Colin Walters <walters@verbum.org>

https://bugzilla.gnome.org/show_bug.cgi?id=703407
glib/gspawn.c