diff options
author | Anubisss <none@none> | 2010-05-13 00:47:28 +0200 |
---|---|---|
committer | Anubisss <none@none> | 2010-05-13 00:47:28 +0200 |
commit | 46a14891c058e419728793af7b8d7ff14007c77b (patch) | |
tree | 1baba80d1be360120c0eca178717692de06ed052 /src/game/WaypointManager.cpp | |
parent | cdb7b3227b0c021806d4edd16e26b6f8355dc2e2 (diff) |
Forget to call clear() for a vector from my previous commit.
--HG--
branch : trunk
Diffstat (limited to 'src/game/WaypointManager.cpp')
-rw-r--r-- | src/game/WaypointManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/WaypointManager.cpp b/src/game/WaypointManager.cpp index 9bdd8c93734..0cbdd0bf975 100644 --- a/src/game/WaypointManager.cpp +++ b/src/game/WaypointManager.cpp @@ -30,6 +30,7 @@ void WaypointStore::Free() { for (WaypointPath::const_iterator it = itr->second->begin(); it != itr->second->end(); ++it) delete *it; + itr->second->clear(); delete itr->second; } waypoint_map.clear(); |