0ef28ca34a
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. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16514>