Forget to call clear() for a vector from my previous commit.
--HG-- branch : trunk
This commit is contained in:
@@ -30,6 +30,7 @@ void WaypointStore::Free()
|
|||||||
{
|
{
|
||||||
for (WaypointPath::const_iterator it = itr->second->begin(); it != itr->second->end(); ++it)
|
for (WaypointPath::const_iterator it = itr->second->begin(); it != itr->second->end(); ++it)
|
||||||
delete *it;
|
delete *it;
|
||||||
|
itr->second->clear();
|
||||||
delete itr->second;
|
delete itr->second;
|
||||||
}
|
}
|
||||||
waypoint_map.clear();
|
waypoint_map.clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user