Close ifstream.

This commit is contained in:
Zach Mullen 2010-03-01 12:05:58 -05:00
parent 348f6c4d8c
commit 5cfbdb1f80

View File

@ -363,7 +363,11 @@ void cmCTestMultiProcessHandler::ReadCostData()
cmSystemTools::SplitString(line.c_str(), ' ');
// Probably an older version of the file, will be fixed next run
if(parts.size() < 3) return;
if(parts.size() < 3)
{
fin.close();
return;
}
std::string name = parts[0];
int prev = atoi(parts[1].c_str());