Clean up the frame allocator.