mirror of
https://github.com/reactos/CMake.git
synced 2025-02-03 10:31:55 +00:00
BUG: Fix mem leak. Thanks, Mathieu.
This commit is contained in:
parent
8950fca4ce
commit
968706b29e
@ -222,7 +222,7 @@ int main (int argc, char *argv[])
|
||||
cminst.RemoveUnscriptableCommands();
|
||||
cmGlobalGenerator cmgg;
|
||||
cmgg.SetCMakeInstance(&cminst);
|
||||
cmLocalGenerator* cmlg = cmgg.CreateLocalGenerator();
|
||||
std::auto_ptr<cmLocalGenerator> cmlg(cmgg.CreateLocalGenerator());
|
||||
cmMakefile* globalMF = cmlg->GetMakefile();
|
||||
|
||||
bool cpackConfigFileSpecified = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user