diff --git a/cbits/alloc.c b/cbits/alloc.c index d1d922979e47514a05e1365b4ca7d51852fea1cd..2b5959d45ab95e67c30ac7adea50e5970803b021 100644 --- a/cbits/alloc.c +++ b/cbits/alloc.c @@ -73,7 +73,7 @@ stgAllocForGMP (size_t size_in_bytes) total_size_in_words = sizeofW(StgArrWords) + data_size_in_words; /* allocate and fill it in. */ - arr = (StgArrWords *)allocateLocal(rts_unsafeGetMyCapability(), total_size_in_words); + arr = (StgArrWords *)allocate(rts_unsafeGetMyCapability(), total_size_in_words); SET_ARR_HDR(arr, &stg_ARR_WORDS_info, CCCS, data_size_in_words); /* and return a ptr to the goods inside the array */