extcap: Close stdout_fd and stderr_fd when done
authorStig Bjørlykke <stig@bjorlykke.org>
Mon, 15 Oct 2018 18:41:39 +0000 (20:41 +0200)
committerStig Bjørlykke <stig@bjorlykke.org>
Wed, 17 Oct 2018 17:46:22 +0000 (17:46 +0000)
commitc826e2a77e21a6f010073956bc0103997584b881
treec425d7d8bf8880dd97554e235313090c969823e6
parentca50195f1148b855c9fd788725dba77aa4b08315
extcap: Close stdout_fd and stderr_fd when done

The documentation for g_spawn_async_with_pipes() states that stdout_fd
and stderr_fd must be closed when they are no longer in use.

Ping-Bug: 15205
Change-Id: I943eaa68058b0828686469672ea3611e67390b2f
Reviewed-on: https://code.wireshark.org/review/30221
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
extcap.c