Skip to content

REG040

REG040 — region exited with live allocations

SubsystemRegions
Severityerror

A FreeList region reached the end of its block with allocations that were never freed. Free them explicitly before the region exits, transfer(to: …) them out, or use an Arena (bulk-freed on exit). See spec/memory.md §“Region literal syntax”.

From your terminal:

Terminal window
q64 explain REG040