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
367cca6a
Commit
367cca6a
authored
Jan 04, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Fixed accept_mimes freeing.
parent
25c2236a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
http.c
dlls/urlmon/http.c
+3
-3
No files found.
dlls/urlmon/http.c
View file @
367cca6a
...
...
@@ -79,7 +79,7 @@ static HRESULT HttpProtocol_open_request(Protocol *prot, LPCWSTR url, DWORD requ
URL_COMPONENTSW
url_comp
;
BYTE
security_id
[
512
];
DWORD
len
=
0
;
ULONG
num
=
0
;
ULONG
num
;
BOOL
res
,
b
;
HRESULT
hres
;
...
...
@@ -132,8 +132,8 @@ static HRESULT HttpProtocol_open_request(Protocol *prot, LPCWSTR url, DWORD requ
?
wszBindVerb
[
This
->
base
.
bind_info
.
dwBindVerb
]
:
This
->
base
.
bind_info
.
szCustomVerb
,
path
,
NULL
,
NULL
,
(
LPCWSTR
*
)
accept_mimes
,
request_flags
,
(
DWORD_PTR
)
&
This
->
base
);
heap_free
(
path
);
while
(
num
<
sizeof
(
accept_mimes
)
/
sizeof
(
accept_mimes
[
0
])
&&
accept_mimes
[
num
]
)
CoTaskMemFree
(
accept_mimes
[
num
++
]);
while
(
num
--
)
CoTaskMemFree
(
accept_mimes
[
num
]);
if
(
!
This
->
base
.
request
)
{
WARN
(
"HttpOpenRequest failed: %d
\n
"
,
GetLastError
());
return
INET_E_RESOURCE_NOT_FOUND
;
...
...
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