dom0/qrexec: minor FD leak fix

qrexec_client will be shortly terminated after that, but still fix it.
This commit is contained in:
Marek Marczykowski 2012-08-27 00:32:26 +02:00
parent d1882bb9fc
commit 89ab002db1

View File

@ -107,6 +107,7 @@ void handle_input(int s)
do_exit(1);
}
if (ret == 0) {
close(local_stdout_fd);
local_stdout_fd = -1;
shutdown(s, SHUT_WR);
if (local_stdin_fd == -1) {