mirror of
https://github.com/reactos/wine.git
synced 2024-12-04 17:56:51 +00:00
server: Close fd if there is no space in thread inflight fd list.
This commit is contained in:
parent
6d6dd3c42b
commit
749e2aa36f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user