From e24a3bd0ab5e34f18ebae784a94d8cb3459fcca7 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Mon, 11 Dec 2017 09:18:11 +0100 Subject: allocator: minor fix for deallocOsPages --- lib/system/alloc.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/system/alloc.nim b/lib/system/alloc.nim index 725c9ccd3..e274e8e0c 100644 --- a/lib/system/alloc.nim +++ b/lib/system/alloc.nim @@ -308,6 +308,7 @@ proc llDeallocAll(a: var MemRegion) = var next = it.next osDeallocPages(it, PageSize) it = next + a.llmem = nil proc intSetGet(t: IntSet, key: int): PTrunk = var it = t.data[key and high(t.data)] -- cgit 1.4.1-2-gfad0