summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-04 21:35:30 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-04 21:35:30 (GMT)
commitb84854676b23cf91cb132c61ad9618f4c8c37124 (patch)
treef66915a8ff7f25cd86a8f9afb174303c5ae86601
parent17bc96d3361263d99be51dd1f170cab6d6aee137 (diff)
parent2e388cc3c2c0f670b9f1f53a0fbc1217db3c72e3 (diff)
downloadCMake-b84854676b23cf91cb132c61ad9618f4c8c37124.zip
CMake-b84854676b23cf91cb132c61ad9618f4c8c37124.tar.gz
CMake-b84854676b23cf91cb132c61ad9618f4c8c37124.tar.bz2
Merge branch 'clear-evaluation-files' into release
-rw-r--r--Source/cmGlobalGenerator.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index b12c691..e8a4bb6 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -848,6 +848,14 @@ void cmGlobalGenerator::Configure()
delete this->LocalGenerators[i];
}
this->LocalGenerators.clear();
+ for(std::vector<cmGeneratorExpressionEvaluationFile*>::const_iterator
+ li = this->EvaluationFiles.begin();
+ li != this->EvaluationFiles.end();
+ ++li)
+ {
+ delete *li;
+ }
+ this->EvaluationFiles.clear();
this->TargetDependencies.clear();
this->TotalTargets.clear();
this->ImportedTargets.clear();