ntdll: Mac: Fix leak of send right for Mach thread port.
authorKen Thomases <ken@codeweavers.com>
Wed, 24 Feb 2010 06:52:13 +0000 (00:52 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 24 Feb 2010 14:12:30 +0000 (15:12 +0100)
commit07d005de84705eabdd134c94b9864c2a4bec6da8
tree2b40bb2657ee61a37730f8bd3de43f0d5d11dafb
parent62019e6d3a768f5bdd5b16936362722f7b1261ce
ntdll: Mac: Fix leak of send right for Mach thread port.

The leaked send right kept the port alive for threads that are gone.  For
processes which create a lot of threads, this can cause performance problems.
dlls/ntdll/server.c