We were only iterating freelist, now properly iterate the alloc-list and
release all remaining memory.