Fix a memory leak.
This commit is contained in:
parent
4b652ad0d9
commit
dd52fc309d
|
@ -1936,6 +1936,7 @@ void cmCTestTestHandler::SetTestsToRunInformation(const char* in)
|
|||
fin.getline(buff, filelen);
|
||||
buff[fin.gcount()] = 0;
|
||||
this->TestsToRunString = buff;
|
||||
delete [] buff;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue