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
f46ee92d
Commit
f46ee92d
authored
Feb 11, 2015
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Keep reference to This in all IDocObjectService callback calls.
parent
dc06802a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
shellbrowser.c
dlls/ieframe/shellbrowser.c
+9
-0
No files found.
dlls/ieframe/shellbrowser.c
View file @
f46ee92d
...
...
@@ -708,10 +708,15 @@ static HRESULT WINAPI DocObjectService_FireBeforeNavigate2(
V_VT
(
params
+
6
)
=
(
VT_DISPATCH
);
V_DISPATCH
(
params
+
6
)
=
(
IDispatch
*
)
This
->
doc_host
->
wb
;
/* Keep reference to This. It may be released in event handler. */
IShellBrowser_AddRef
(
&
This
->
IShellBrowser_iface
);
TRACE
(
">>>
\n
"
);
call_sink
(
This
->
doc_host
->
cps
.
wbe2
,
DISPID_BEFORENAVIGATE2
,
&
dp
);
TRACE
(
"<<<
\n
"
);
IShellBrowser_Release
(
&
This
->
IShellBrowser_iface
);
SysFreeString
(
V_BSTR
(
&
var_url
));
SysFreeString
(
V_BSTR
(
&
var_headers
));
SysFreeString
(
V_BSTR
(
&
var_frame_name
));
...
...
@@ -764,6 +769,9 @@ static HRESULT WINAPI DocObjectService_FireNavigateComplete2(
V_VT
(
&
url_var
)
=
VT_BSTR
;
V_BSTR
(
&
url_var
)
=
url
;
/* Keep reference to This. It may be released in event handler. */
IShellBrowser_AddRef
(
&
This
->
IShellBrowser_iface
);
TRACE
(
">>>
\n
"
);
call_sink
(
This
->
doc_host
->
cps
.
wbe2
,
DISPID_NAVIGATECOMPLETE2
,
&
dp
);
TRACE
(
"<<<
\n
"
);
...
...
@@ -771,6 +779,7 @@ static HRESULT WINAPI DocObjectService_FireNavigateComplete2(
SysFreeString
(
url
);
This
->
doc_host
->
busy
=
VARIANT_FALSE
;
IShellBrowser_Release
(
&
This
->
IShellBrowser_iface
);
return
S_OK
;
}
...
...
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