[Cmake-commits] CMake branch, next, updated. v2.8.11.2-3769-g0e685bc

Ben Boeckel ben.boeckel at kitware.com
Wed Aug 7 13:15:16 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  0e685bc10330bd1970ac0b105c499c317eb6839e (commit)
       via  3c25091641c9bb5b177cf6b291bc2c1aab006645 (commit)
      from  4532f68df85fc1ee5083029de8cd26af0c984370 (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=0e685bc10330bd1970ac0b105c499c317eb6839e
commit 0e685bc10330bd1970ac0b105c499c317eb6839e
Merge: 4532f68 3c25091
Author:     Ben Boeckel <ben.boeckel at kitware.com>
AuthorDate: Wed Aug 7 13:15:14 2013 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Aug 7 13:15:14 2013 -0400

    Merge topic 'dev/fix-variable-watch-crash' into next
    
    3c25091 variable_watch: Free memory when removing a watch


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3c25091641c9bb5b177cf6b291bc2c1aab006645
commit 3c25091641c9bb5b177cf6b291bc2c1aab006645
Author:     Ben Boeckel <mathstuf at gmail.com>
AuthorDate: Wed Aug 7 12:38:32 2013 -0400
Commit:     Ben Boeckel <mathstuf at gmail.com>
CommitDate: Wed Aug 7 12:43:45 2013 -0400

    variable_watch: Free memory when removing a watch

diff --git a/Source/cmVariableWatch.cxx b/Source/cmVariableWatch.cxx
index 57eabe6..8ad6fce 100644
--- a/Source/cmVariableWatch.cxx
+++ b/Source/cmVariableWatch.cxx
@@ -93,6 +93,7 @@ void cmVariableWatch::RemoveWatch(const std::string& variable,
          // the given method; otherwise match ClientData as well.
          (!client_data || (client_data == (*it)->ClientData)))
       {
+      delete *it;
       vp->erase(it);
       return;
       }

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

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


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list