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:
8392ba2
)
add missing initialisation of ws->todo_large_objects
author
Simon Marlow
<marlowsd@gmail.com>
Fri, 4 Feb 2011 09:31:48 +0000
(09:31 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Fri, 4 Feb 2011 09:31:48 +0000
(09:31 +0000)
Found-by: Valgrind. Thanks Julian!
rts/sm/GC.c
patch
|
blob
|
history
diff --git
a/rts/sm/GC.c
b/rts/sm/GC.c
index
221f24a
..
4ba05bf
100644
(file)
--- a/
rts/sm/GC.c
+++ b/
rts/sm/GC.c
@@
-831,7
+831,8
@@
new_gc_thread (nat n, gc_thread *t)
ws->todo_q = newWSDeque(128);
ws->todo_overflow = NULL;
ws->n_todo_overflow = 0;
-
+ ws->todo_large_objects = NULL;
+
ws->part_list = NULL;
ws->n_part_blocks = 0;