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
5150e0f0
Commit
5150e0f0
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: Properly free tasks in remove_target_tasks.
parent
923484bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
task.c
dlls/mshtml/task.c
+5
-4
No files found.
dlls/mshtml/task.c
View file @
5150e0f0
...
...
@@ -116,15 +116,16 @@ void remove_target_tasks(LONG target)
SetTimer
(
thread_data
->
thread_hwnd
,
TIMER_ID
,
timer
->
time
-
GetTickCount
(),
NULL
);
}
while
(
thread_data
->
task_queue_head
&&
thread_data
->
task_queue_head
->
target_magic
==
target
)
pop_task
();
while
(
thread_data
->
task_queue_head
&&
thread_data
->
task_queue_head
->
target_magic
==
target
)
{
iter
=
pop_task
();
iter
->
destr
(
iter
);
}
for
(
iter
=
thread_data
->
task_queue_head
;
iter
;
iter
=
iter
->
next
)
{
while
(
iter
->
next
&&
iter
->
next
->
target_magic
==
target
)
{
tmp
=
iter
->
next
;
iter
->
next
=
tmp
->
next
;
heap_free
(
tmp
);
tmp
->
destr
(
tmp
);
}
if
(
!
iter
->
next
)
...
...
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