Sebastian Lackner : server: Close fd if there is no space in thread inflight fd list.
17 Nov
2014
17 Nov
'14
1:43 p.m.
Module: wine Branch: master Commit: 749e2aa36fb8fb5c252905f58680b3f854d8be46 URL: http://source.winehq.org/git/wine.git/?a=commit;h=749e2aa36fb8fb5c252905f586... Author: Sebastian Lackner <sebastian(a)fds-team.de> Date: Sat Nov 15 01:04:29 2014 +0100 server: Close fd if there is no space in thread inflight fd list. --- server/thread.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/thread.c b/server/thread.c index 50d6940..97860ee 100644 --- a/server/thread.c +++ b/server/thread.c @@ -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; }
4048
Age (days ago)
4048
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard