diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-19 22:20:21 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-19 22:30:15 (GMT) |
commit | fe401ede2a6d8eb845005d26487c96f42d8425fc (patch) | |
tree | cc3c2a867984180fc4399103037659c6087879e0 /Source/cmQtAutoGenerators.cxx | |
parent | c95a55ad5ab99a817c79558a5a7d8aaeb34a131b (diff) | |
download | CMake-fe401ede2a6d8eb845005d26487c96f42d8425fc.zip CMake-fe401ede2a6d8eb845005d26487c96f42d8425fc.tar.gz CMake-fe401ede2a6d8eb845005d26487c96f42d8425fc.tar.bz2 |
QtAutogen: Use a more-obvious delete-target.
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r-- | Source/cmQtAutoGenerators.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx index 68f8d09..7d389c0 100644 --- a/Source/cmQtAutoGenerators.cxx +++ b/Source/cmQtAutoGenerators.cxx @@ -1230,7 +1230,7 @@ bool cmQtAutoGenerators::Run(const std::string& targetDirectory, this->WriteOldMocDefinitionsFile(targetDirectory); - delete gg->GetCurrentLocalGenerator(); + delete lg; delete gg; gg = NULL; return success; |