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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.