mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 23:00:07 -06:00
Fix a memory leak.
This commit is contained in:
@@ -1936,6 +1936,7 @@ void cmCTestTestHandler::SetTestsToRunInformation(const char* in)
|
||||
fin.getline(buff, filelen);
|
||||
buff[fin.gcount()] = 0;
|
||||
this->TestsToRunString = buff;
|
||||
delete [] buff;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user