diff --git a/source/glest_game/world/unit_updater.cpp b/source/glest_game/world/unit_updater.cpp index eaa59fcd..35205d20 100644 --- a/source/glest_game/world/unit_updater.cpp +++ b/source/glest_game/world/unit_updater.cpp @@ -83,6 +83,8 @@ void UnitUpdater::init(Game *game){ } UnitUpdater::~UnitUpdater() { + UnitRangeCellsLookupItemCache.clear(); + delete pathFinder; pathFinder = NULL; }