projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
118d0ea
)
fix bug in task freeing
author
Simon Marlow
<simonmar@microsoft.com>
Wed, 9 Aug 2006 14:12:25 +0000
(14:12 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Wed, 9 Aug 2006 14:12:25 +0000
(14:12 +0000)
rts/Task.c
patch
|
blob
|
history
diff --git
a/rts/Task.c
b/rts/Task.c
index
57497e4
..
dcfa5b5
100644
(file)
--- a/
rts/Task.c
+++ b/
rts/Task.c
@@
-74,7
+74,7
@@
stopTaskManager (void)
tasksRunning);
ACQUIRE_LOCK(&sched_mutex);
- for (task = task_free_list; task != NULL; next) {
+ for (task = task_free_list; task != NULL; task = next) {
next = task->next;
stgFree(task);
}