In util::red_black_tree<_Key, _Value, _Compare>::erase(iterator& it), the destructor of the node was not called when the node was added to the free list.
Renamed scoped_mutex -> scoped_lock.