diff options
author | Brad King <brad.king@kitware.com> | 2014-07-28 14:35:51 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-07-28 14:35:51 (GMT) |
commit | fd0229e8c5bffa4807962dbe4e077ae7ac2d3dda (patch) | |
tree | 311478cad9b28fead35418cc3a9d7c047dfd528e | |
parent | 68f4a0ee306e5b5aec1252d0e7ed2af93273ee9f (diff) | |
parent | 0e88b1d6d92b32b767dff33109855f079a272f00 (diff) | |
download | CMake-fd0229e8c5bffa4807962dbe4e077ae7ac2d3dda.zip CMake-fd0229e8c5bffa4807962dbe4e077ae7ac2d3dda.tar.gz CMake-fd0229e8c5bffa4807962dbe4e077ae7ac2d3dda.tar.bz2 |
Merge topic 'fix_qt4_automoc_leak'
0e88b1d6 Fix memory leak of local generator detected by LeakSanitizer.
-rw-r--r-- | Source/cmQtAutoGenerators.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx index cc6932d..d4d565c 100644 --- a/Source/cmQtAutoGenerators.cxx +++ b/Source/cmQtAutoGenerators.cxx @@ -1000,6 +1000,7 @@ bool cmQtAutoGenerators::Run(const std::string& targetDirectory, this->WriteOldMocDefinitionsFile(targetDirectory); + delete gg->GetCurrentLocalGenerator(); delete gg; gg = NULL; makefile = NULL; |