[2/3] server: Always remove inflight fd if alloc_console fails.

Sebastian Lackner sebastian at fds-team.de
Wed Nov 19 22:12:03 CST 2014


And now back to the fd cleanup ;)
thread_get_inflight_fd should always be called as a first step, otherwise file descriptors could accidentially stay in the inflight fd list.

---
 server/console.c | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-server-Always-remove-inflight-fd-if-alloc_console-fa.patch
Type: text/x-patch
Size: 1966 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141120/1eeb88f3/attachment-0001.bin>


More information about the wine-patches mailing list