diff --git a/src/c/main.d b/src/c/main.d index 67a8d42f7..70bcda06c 100644 --- a/src/c/main.d +++ b/src/c/main.d @@ -298,7 +298,7 @@ _ecl_alloc_env() /* We have not set up any environment. Hence, we cannot call ecl_alloc() * because it will need to stop interrupts and currently we rely on * the environment for that */ - output = &first_env; + output = GC_MALLOC_IGNORE_OFF_PAGE(sizeof(*output)); } else { output = ecl_alloc(sizeof(*output)); }