summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-04 16:35:30 -0500
committerBrad King <brad.king@kitware.com>2013-11-04 16:35:30 -0500
commitb84854676b23cf91cb132c61ad9618f4c8c37124 (patch)
treef66915a8ff7f25cd86a8f9afb174303c5ae86601
parent17bc96d3361263d99be51dd1f170cab6d6aee137 (diff)
parent2e388cc3c2c0f670b9f1f53a0fbc1217db3c72e3 (diff)
downloadcmake-b84854676b23cf91cb132c61ad9618f4c8c37124.tar.gz
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 b12c69172d..e8a4bb6579 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();