From dd52fc309d37e4d3835a985e4a85c843b90cf9e6 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 6 Jun 2011 16:41:17 -0400 Subject: [PATCH] Fix a memory leak. --- Source/CTest/cmCTestTestHandler.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index bad26c506..56f663009 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -1936,6 +1936,7 @@ void cmCTestTestHandler::SetTestsToRunInformation(const char* in) fin.getline(buff, filelen); buff[fin.gcount()] = 0; this->TestsToRunString = buff; + delete [] buff; } }