[Cmake-commits] CMake branch, next, updated. v2.8.11-2138-gcb9aefc

Stephen Kelly steveire at gmail.com
Wed May 22 04:09:32 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  cb9aefc87bec3aefb8df7410b1031cb86cdeec45 (commit)
       via  6191e0b3cf1ee869b49ceb2b709c3f08ed08de97 (commit)
      from  90bf98a934610c8f3ce351a8ee9595f87d6cf7a4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cb9aefc87bec3aefb8df7410b1031cb86cdeec45
commit cb9aefc87bec3aefb8df7410b1031cb86cdeec45
Merge: 90bf98a 6191e0b
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Wed May 22 04:09:30 2013 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed May 22 04:09:30 2013 -0400

    Merge topic 'genex-generate-file' into next
    
    6191e0b Fix memory leak.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6191e0b3cf1ee869b49ceb2b709c3f08ed08de97
commit 6191e0b3cf1ee869b49ceb2b709c3f08ed08de97
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Wed May 22 10:08:46 2013 +0200
Commit:     Stephen Kelly <steveire at gmail.com>
CommitDate: Wed May 22 10:08:46 2013 +0200

    Fix memory leak.

diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 2e94c42..f6cdeba 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -70,6 +70,13 @@ cmGlobalGenerator::~cmGlobalGenerator()
     {
     delete this->LocalGenerators[i];
     }
+  for(std::vector<cmGeneratorExpressionEvaluationFile*>::const_iterator
+      li = this->EvaluationFiles.begin();
+      li != this->EvaluationFiles.end();
+      ++li)
+    {
+    delete *li;
+    }
   this->LocalGenerators.clear();
 
   if (this->ExtraGenerator)

-----------------------------------------------------------------------

Summary of changes:
 Source/cmGlobalGenerator.cxx |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list