mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-05 04:27:44 +00:00
allocator: minor fix for deallocOsPages
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user