dom0/qrexec: minor FD leak fix
qrexec_client will be shortly terminated after that, but still fix it.
This commit is contained in:
parent
d1882bb9fc
commit
89ab002db1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user