From: Simon Marlow Date: Fri, 4 Feb 2011 09:31:48 +0000 (+0000) Subject: add missing initialisation of ws->todo_large_objects X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=d4fd857db149e9d21c83c7254faecc92d73f7f03 add missing initialisation of ws->todo_large_objects Found-by: Valgrind. Thanks Julian! --- diff --git a/rts/sm/GC.c b/rts/sm/GC.c index 221f24a..4ba05bf 100644 --- 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;