[Cmake-commits] CMake branch, next, updated. v3.3.1-2749-g8a4be5d

Brad King brad.king at kitware.com
Thu Sep 3 06:42:06 EDT 2015


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  8a4be5dae3c0fcbbe5d8f3aa083dcba080cf401a (commit)
       via  60a389d03c17e9879271bdeac471673784be23c5 (commit)
      from  8c9e49abb1e345dbf794adc5f328180c471804dd (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=8a4be5dae3c0fcbbe5d8f3aa083dcba080cf401a
commit 8a4be5dae3c0fcbbe5d8f3aa083dcba080cf401a
Merge: 8c9e49a 60a389d
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Sep 3 06:42:02 2015 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Sep 3 06:42:02 2015 -0400

    Merge topic 'fix-buildsystem-target-properties' into next
    
    60a389d0 cmTarget: Fix memory leak when SOURCES property is cleared


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=60a389d03c17e9879271bdeac471673784be23c5
commit 60a389d03c17e9879271bdeac471673784be23c5
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Sep 3 06:37:26 2015 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Thu Sep 3 06:37:26 2015 -0400

    cmTarget: Fix memory leak when SOURCES property is cleared

diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 396715d..3425f34 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -1671,6 +1671,7 @@ void cmTarget::SetProperty(const std::string& prop, const char* value)
     this->Internal->SourceFilesMap.clear();
     cmListFileBacktrace lfbt = this->Makefile->GetBacktrace();
     cmGeneratorExpression ge(lfbt);
+    cmDeleteAll(this->Internal->SourceEntries);
     this->Internal->SourceEntries.clear();
     cmsys::auto_ptr<cmCompiledGeneratorExpression> cge = ge.Parse(value);
     this->Internal->SourceEntries.push_back(

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

Summary of changes:
 Source/cmTarget.cxx |    1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list