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
65319e81
Commit
65319e81
authored
Jul 21, 2015
by
Huw Davies
Committed by
Alexandre Julliard
Jul 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Fix a reference leak.
parent
b82fab89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
session.c
dlls/winhttp/session.c
+2
-4
No files found.
dlls/winhttp/session.c
View file @
65319e81
...
...
@@ -2038,8 +2038,6 @@ BOOL WINAPI WinHttpSetTimeouts( HINTERNET handle, int resolve, int connect, int
if
(
netconn_set_timeout
(
&
request
->
netconn
,
TRUE
,
send
))
ret
=
FALSE
;
if
(
netconn_set_timeout
(
&
request
->
netconn
,
FALSE
,
receive
))
ret
=
FALSE
;
}
release_object
(
&
request
->
hdr
);
break
;
case
WINHTTP_HANDLE_TYPE_SESSION
:
...
...
@@ -2057,10 +2055,10 @@ BOOL WINAPI WinHttpSetTimeouts( HINTERNET handle, int resolve, int connect, int
break
;
default:
release_object
(
hdr
);
set_last_error
(
ERROR_WINHTTP_INCORRECT_HANDLE_TYPE
);
ret
urn
FALSE
;
ret
=
FALSE
;
}
release_object
(
hdr
);
return
ret
;
}
...
...
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