Use std::list for free list.