diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-12-11 09:18:11 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-12-11 09:18:11 +0100 |
commit | e24a3bd0ab5e34f18ebae784a94d8cb3459fcca7 (patch) | |
tree | acfa84263c8b3e6d31a1afedb72a9d1bd9c1a591 /lib | |
parent | e8a52a0fc2f0e164d0f79ec443c143d433731472 (diff) | |
download | Nim-e24a3bd0ab5e34f18ebae784a94d8cb3459fcca7.tar.gz |
allocator: minor fix for deallocOsPages
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/alloc.nim | 1 |
1 files changed, 1 insertions, 0 deletions
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)] |