Menu

#34 Thread Handle leak in Windows SendFile.cpp

v1.0_(example)
open
nobody
None
5
2013-11-25
2013-11-25
No

Line 95 :
CreateThread(NULL, 0, sendfile, new UDTSOCKET(fhandle), 0, NULL)

Proposed change :

CloseHandle(CreateThread(NULL, 0, sendfile, new UDTSOCKET(fhandle), 0, NULL));

Discussion


Log in to post a comment.