allocator: minor fix for deallocOsPages

This commit is contained in:
Andreas Rumpf 2017-12-11 09:18:11 +01:00
commit e24a3bd0ab

View file

@ -308,6 +308,7 @@ proc llDeallocAll(a: var MemRegion) =
var next = it.next var next = it.next
osDeallocPages(it, PageSize) osDeallocPages(it, PageSize)
it = next it = next
a.llmem = nil
proc intSetGet(t: IntSet, key: int): PTrunk = proc intSetGet(t: IntSet, key: int): PTrunk =
var it = t.data[key and high(t.data)] var it = t.data[key and high(t.data)]