Commit 749e2aa3 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

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

parent 6d6dd3c4
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment