Fix mem leak reported by valgrind.
This commit is contained in:
parent
10a4abddfd
commit
474cf519a0
@ -4417,8 +4417,8 @@ int cmake::Build(const std::string& dir,
|
|||||||
std::cerr << "Error: could find generator in Cache\n";
|
std::cerr << "Error: could find generator in Cache\n";
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
cmGlobalGenerator* gen =
|
std::auto_ptr<cmGlobalGenerator> gen(
|
||||||
this->CreateGlobalGenerator(it.GetValue());
|
this->CreateGlobalGenerator(it.GetValue()));
|
||||||
std::string output;
|
std::string output;
|
||||||
std::string projName;
|
std::string projName;
|
||||||
std::string makeProgram;
|
std::string makeProgram;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user