http://bugs.winehq.org/show_bug.cgi?id=15122
--- Comment #31 from Yuri Khan yurivkhan@gmail.com 2009-06-22 12:51:41 --- (In reply to comment #30)
Looks OK to me (but you need to remove commented out code).
OK, sent. Fixed a thread handle leak, too.
http://www.winehq.org/pipermail/wine-patches/2009-June/074634.html