QtAutogen: Use a more-obvious delete-target.

This commit is contained in:
Stephen Kelly 2015-05-20 00:20:21 +02:00
parent c95a55ad5a
commit fe401ede2a
1 changed files with 1 additions and 1 deletions

View File

@ -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;