http://bugs.winehq.org/show_bug.cgi?id=5414
Summary: leak of a file descriptor in FTP_DoPassive() Product: Wine Version: CVS Platform: All OS/Version: All Status: UNCONFIRMED Severity: minor Priority: P3 Component: wine-net AssignedTo: wine-bugs@winehq.org ReportedBy: chadd@cs.umd.edu
It looks like the function FTP_DoPassive() in wine/dlls/wininet/ftp.c (1.65) may leak a file descriptor (socket) in the error case (socket() succeeds but connect() fails and the control proceeds to lend).