diff --git a/src/pkg/runtime/malloc.goc b/src/pkg/runtime/malloc.goc index 4e6bbe1b0fe..885ab0395a6 100644 --- a/src/pkg/runtime/malloc.goc +++ b/src/pkg/runtime/malloc.goc @@ -261,6 +261,8 @@ runtime·mallocinit(void) extern byte end[]; byte *want; + p = nil; + runtime·InitSizes(); // Set up the allocation arena, a contiguous area of memory where