allocator: minor fix for deallocOsPages
This commit is contained in:
parent
e8a52a0fc2
commit
e24a3bd0ab
1 changed files with 1 additions and 0 deletions
|
|
@ -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)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue