Forget to call clear() for a vector from my previous commit.

--HG--
branch : trunk
This commit is contained in:
Anubisss
2010-05-13 00:47:28 +02:00
parent cdb7b3227b
commit 46a14891c0
+1
View File
@@ -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();