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
9f77da60
Commit
9f77da60
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 start_binding task.
parent
6830a3b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
nsio.c
dlls/mshtml/nsio.c
+8
-2
No files found.
dlls/mshtml/nsio.c
View file @
9f77da60
...
...
@@ -889,8 +889,14 @@ static void start_binding_proc(task_t *_task)
start_binding_task_t
*
task
=
(
start_binding_task_t
*
)
_task
;
start_binding
(
NULL
,
task
->
doc
,
(
BSCallback
*
)
task
->
bscallback
,
NULL
);
}
static
void
start_binding_task_destr
(
task_t
*
_task
)
{
start_binding_task_t
*
task
=
(
start_binding_task_t
*
)
_task
;
IUnknown_Release
((
IUnknown
*
)
task
->
bscallback
);
IBindStatusCallback_Release
(
&
task
->
bscallback
->
bsc
.
IBindStatusCallback_iface
);
heap_free
(
task
);
}
static
nsresult
async_open
(
nsChannel
*
This
,
HTMLWindow
*
window
,
BOOL
is_doc_channel
,
nsIStreamListener
*
listener
,
...
...
@@ -925,7 +931,7 @@ static nsresult async_open(nsChannel *This, HTMLWindow *window, BOOL is_doc_chan
task
->
doc
=
window
->
doc
;
task
->
bscallback
=
bscallback
;
push_task
(
&
task
->
header
,
start_binding_proc
,
NULL
,
window
->
doc
->
basedoc
.
task_magic
);
push_task
(
&
task
->
header
,
start_binding_proc
,
start_binding_task_destr
,
window
->
doc
->
basedoc
.
task_magic
);
}
return
NS_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