Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5075f00f
Commit
5075f00f
authored
Apr 22, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't access url in translate_url after freeing it.
parent
0800158e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
nsio.c
dlls/mshtml/nsio.c
+7
-8
No files found.
dlls/mshtml/nsio.c
View file @
5075f00f
...
...
@@ -196,16 +196,15 @@ static BOOL translate_url(HTMLDocumentObj *doc, nsWineURI *uri)
url
=
heap_strdupW
(
uri
->
wine_url
);
hres
=
IDocHostUIHandler_TranslateUrl
(
doc
->
hostui
,
0
,
url
,
&
new_url
);
heap_free
(
url
);
if
(
hres
!=
S_OK
||
!
new_url
)
return
FALSE
;
if
(
strcmpW
(
url
,
new_url
))
{
FIXME
(
"TranslateUrl returned new URL %s -> %s
\n
"
,
debugstr_w
(
url
),
debugstr_w
(
new_url
));
ret
=
TRUE
;
if
(
hres
==
S_OK
&&
new_url
)
{
if
(
strcmpW
(
url
,
new_url
))
{
FIXME
(
"TranslateUrl returned new URL %s -> %s
\n
"
,
debugstr_w
(
url
),
debugstr_w
(
new_url
));
ret
=
TRUE
;
}
CoTaskMemFree
(
new_url
);
}
CoTaskMemFree
(
new_
url
);
heap_free
(
url
);
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