QtAutogen: Use a more-obvious delete-target.
This commit is contained in:
parent
c95a55ad5a
commit
fe401ede2a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue