X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FWeak.c;fp=ghc%2Frts%2FWeak.c;h=462ceccb4db516dadb4dc3d5cc33a1eaad476844;hb=f59e2cececddab7c7004db636704a9a510d84c6b;hp=7201ba11a8045e02109bf96ee6588cd36e4c92c9;hpb=025fbc40c0df064443adf7e78a1a5e2e19ed2f50;p=ghc-hetmet.git diff --git a/ghc/rts/Weak.c b/ghc/rts/Weak.c index 7201ba1..462cecc 100644 --- a/ghc/rts/Weak.c +++ b/ghc/rts/Weak.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Weak.c,v 1.30 2003/09/21 22:20:56 wolfgang Exp $ + * $Id: Weak.c,v 1.31 2003/10/24 09:00:59 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -106,6 +106,7 @@ scheduleFinalizers(StgWeak *list) arr = (StgMutArrPtrs *)allocate(sizeofW(StgMutArrPtrs) + n); TICK_ALLOC_PRIM(sizeofW(StgMutArrPtrs), n, 0); SET_HDR(arr, &stg_MUT_ARR_PTRS_FROZEN_info, CCS_SYSTEM); + arr->mut_link = NULL; arr->ptrs = n; n = 0;