QtAutogen: Use a more-obvious delete-target.

This commit is contained in:
Stephen Kelly committed 2015-05-20 00:30:15 +02:00
1 parent c95a55ad5a
commit fe401ede2a
1 file changed
+1 -1
+1 -1
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;