Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
91bbec01
Commit
91bbec01
authored
Sep 06, 2006
by
Jan Zerebecki
Committed by
Alexandre Julliard
Sep 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Fix fd leak on failure case.
parent
1ee1d819
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
ftp.c
dlls/wininet/ftp.c
+1
-0
No files found.
dlls/wininet/ftp.c
View file @
91bbec01
...
@@ -2420,6 +2420,7 @@ static BOOL FTP_DoPassive(LPWININETFTPSESSIONW lpwfs)
...
@@ -2420,6 +2420,7 @@ static BOOL FTP_DoPassive(LPWININETFTPSESSIONW lpwfs)
if
(
connect
(
nsocket
,
(
struct
sockaddr
*
)
&
dataSocketAddress
,
sizeof
(
dataSocketAddress
)))
if
(
connect
(
nsocket
,
(
struct
sockaddr
*
)
&
dataSocketAddress
,
sizeof
(
dataSocketAddress
)))
{
{
ERR
(
"can't connect passive FTP data port.
\n
"
);
ERR
(
"can't connect passive FTP data port.
\n
"
);
closesocket
(
nsocket
);
goto
lend
;
goto
lend
;
}
}
lpwfs
->
pasvSocket
=
nsocket
;
lpwfs
->
pasvSocket
=
nsocket
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment