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
6830a3b3
Commit
6830a3b3
authored
Aug 03, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use task destructor for async_doc_binding task.
parent
d65758db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
navigate.c
dlls/mshtml/navigate.c
+8
-1
No files found.
dlls/mshtml/navigate.c
View file @
6830a3b3
...
...
@@ -1598,7 +1598,14 @@ static void start_doc_binding_proc(task_t *_task)
start_doc_binding_task_t
*
task
=
(
start_doc_binding_task_t
*
)
_task
;
start_binding
(
task
->
window
,
NULL
,
(
BSCallback
*
)
task
->
bscallback
,
NULL
);
}
static
void
start_doc_binding_task_destr
(
task_t
*
_task
)
{
start_doc_binding_task_t
*
task
=
(
start_doc_binding_task_t
*
)
_task
;
IBindStatusCallback_Release
(
&
task
->
bscallback
->
bsc
.
IBindStatusCallback_iface
);
heap_free
(
task
);
}
HRESULT
async_start_doc_binding
(
HTMLWindow
*
window
,
nsChannelBSC
*
bscallback
)
...
...
@@ -1613,7 +1620,7 @@ HRESULT async_start_doc_binding(HTMLWindow *window, nsChannelBSC *bscallback)
task
->
bscallback
=
bscallback
;
IBindStatusCallback_AddRef
(
&
bscallback
->
bsc
.
IBindStatusCallback_iface
);
push_task
(
&
task
->
header
,
start_doc_binding_proc
,
NULL
,
window
->
task_magic
);
push_task
(
&
task
->
header
,
start_doc_binding_proc
,
start_doc_binding_task_destr
,
window
->
task_magic
);
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