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
752334c5
Commit
752334c5
authored
Jul 24, 2007
by
Misha Koshelev
Committed by
Alexandre Julliard
Jul 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Release IInternetProtocolInfo returned from get_protocol_info when finished with it.
parent
f5ed5a7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
internet.c
dlls/urlmon/internet.c
+7
-0
No files found.
dlls/urlmon/internet.c
View file @
752334c5
...
...
@@ -75,6 +75,7 @@ static HRESULT parse_canonicalize_url(LPCWSTR url, DWORD flags, LPWSTR result,
if
(
protocol_info
)
{
hres
=
IInternetProtocolInfo_ParseUrl
(
protocol_info
,
url
,
PARSE_CANONICALIZE
,
flags
,
result
,
size
,
rsize
,
0
);
IInternetProtocolInfo_Release
(
protocol_info
);
if
(
SUCCEEDED
(
hres
))
return
hres
;
}
...
...
@@ -98,6 +99,7 @@ static HRESULT parse_security_url(LPCWSTR url, DWORD flags, LPWSTR result, DWORD
if
(
protocol_info
)
{
hres
=
IInternetProtocolInfo_ParseUrl
(
protocol_info
,
url
,
PARSE_SECURITY_URL
,
flags
,
result
,
size
,
rsize
,
0
);
IInternetProtocolInfo_Release
(
protocol_info
);
return
hres
;
}
...
...
@@ -117,6 +119,7 @@ static HRESULT parse_encode(LPCWSTR url, DWORD flags, LPWSTR result, DWORD size,
if
(
protocol_info
)
{
hres
=
IInternetProtocolInfo_ParseUrl
(
protocol_info
,
url
,
PARSE_ENCODE
,
flags
,
result
,
size
,
rsize
,
0
);
IInternetProtocolInfo_Release
(
protocol_info
);
if
(
SUCCEEDED
(
hres
))
return
hres
;
}
...
...
@@ -143,6 +146,7 @@ static HRESULT parse_path_from_url(LPCWSTR url, DWORD flags, LPWSTR result, DWOR
if
(
protocol_info
)
{
hres
=
IInternetProtocolInfo_ParseUrl
(
protocol_info
,
url
,
PARSE_PATH_FROM_URL
,
flags
,
result
,
size
,
rsize
,
0
);
IInternetProtocolInfo_Release
(
protocol_info
);
if
(
SUCCEEDED
(
hres
))
return
hres
;
}
...
...
@@ -168,6 +172,7 @@ static HRESULT parse_security_domain(LPCWSTR url, DWORD flags, LPWSTR result,
if
(
protocol_info
)
{
hres
=
IInternetProtocolInfo_ParseUrl
(
protocol_info
,
url
,
PARSE_SECURITY_DOMAIN
,
flags
,
result
,
size
,
rsize
,
0
);
IInternetProtocolInfo_Release
(
protocol_info
);
if
(
SUCCEEDED
(
hres
))
return
hres
;
}
...
...
@@ -224,6 +229,7 @@ HRESULT WINAPI CoInternetCombineUrl(LPCWSTR pwzBaseUrl, LPCWSTR pwzRelativeUrl,
if
(
protocol_info
)
{
hres
=
IInternetProtocolInfo_CombineUrl
(
protocol_info
,
pwzBaseUrl
,
pwzRelativeUrl
,
dwCombineFlags
,
pwzResult
,
cchResult
,
pcchResult
,
dwReserved
);
IInternetProtocolInfo_Release
(
protocol_info
);
if
(
SUCCEEDED
(
hres
))
return
hres
;
}
...
...
@@ -251,6 +257,7 @@ HRESULT WINAPI CoInternetCompareUrl(LPCWSTR pwzUrl1, LPCWSTR pwzUrl2, DWORD dwCo
if
(
protocol_info
)
{
hres
=
IInternetProtocolInfo_CompareUrl
(
protocol_info
,
pwzUrl1
,
pwzUrl2
,
dwCompareFlags
);
IInternetProtocolInfo_Release
(
protocol_info
);
if
(
SUCCEEDED
(
hres
))
return
hres
;
}
...
...
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