dzn: reset correct list
It makes no sense to add the active heaps to the free heaps, just to remove them again. Instead, let's move them from the one list to the other.
This fixes a crash in Doom 2016 after a while, due to resource exhaustion.
It makes no sense to add the active heaps to the free heaps, just to remove them again. Instead, let's move them from the one list to the other.
This fixes a crash in Doom 2016 after a while, due to resource exhaustion.