server: Close fd if there is no space in thread inflight fd list.

This commit is contained in:
Sebastian Lackner 2014-11-15 01:04:29 +01:00 committed by Alexandre Julliard
parent 6d6dd3c42b
commit 749e2aa36f

View File

@ -1047,6 +1047,8 @@ int thread_add_inflight_fd( struct thread *thread, int client, int server )
thread->inflight[i].server = server;
return i;
}
close( server );
return -1;
}