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
3febaa2d
Commit
3febaa2d
authored
Mar 09, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Release callback and bindctx in bind_url_to_object.
parent
72bf4a64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
navigate.c
dlls/shdocvw/navigate.c
+5
-4
No files found.
dlls/shdocvw/navigate.c
View file @
3febaa2d
...
...
@@ -413,8 +413,7 @@ static BOOL try_application_url(LPCWSTR url)
return
ShellExecuteExW
(
&
exec_info
);
}
static
HRESULT
navigate
(
DocHost
*
This
,
IMoniker
*
mon
,
IBindCtx
*
bindctx
,
IBindStatusCallback
*
callback
)
static
HRESULT
navigate
(
DocHost
*
This
,
IMoniker
*
mon
,
IBindCtx
*
bindctx
)
{
IOleObject
*
oleobj
;
IPersistMoniker
*
persist
;
...
...
@@ -499,9 +498,11 @@ static HRESULT bind_url_to_object(DocHost *This, LPCWSTR url, PBYTE post_data, U
callback
=
create_callback
(
This
,
post_data
,
post_data_len
,
(
LPWSTR
)
headers
,
&
cancel
);
CreateAsyncBindCtx
(
0
,
callback
,
0
,
&
bindctx
);
IBindStatusCallback_Release
(
callback
);
hres
=
navigate
(
This
,
mon
,
bindctx
,
callback
);
hres
=
navigate
(
This
,
mon
,
bindctx
);
IBindCtx_Release
(
bindctx
);
IMoniker_Release
(
mon
);
return
hres
;
...
...
@@ -602,7 +603,7 @@ static HRESULT navigate_hlink(DocHost *This, IMoniker *mon, IBindCtx *bindctx,
This
->
url
=
url
;
return
navigate
(
This
,
mon
,
bindctx
,
callback
);
return
navigate
(
This
,
mon
,
bindctx
);
}
#define HLINKFRAME_THIS(iface) DEFINE_THIS(WebBrowser, HlinkFrame, iface)
...
...
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