From d4fd857db149e9d21c83c7254faecc92d73f7f03 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Fri, 4 Feb 2011 09:31:48 +0000 Subject: [PATCH] add missing initialisation of ws->todo_large_objects Found-by: Valgrind. Thanks Julian! --- rts/sm/GC.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 1.7.10.4