summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2011-06-06 20:41:17 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2011-06-06 20:41:17 (GMT)
commitdd52fc309d37e4d3835a985e4a85c843b90cf9e6 (patch)
tree267139cb7c039b97f24b625218b84e849b76d0b3 /Source/CTest
parent4b652ad0d9c83b30ac34f53a1b90fc0a153c6293 (diff)
downloadCMake-dd52fc309d37e4d3835a985e4a85c843b90cf9e6.zip
CMake-dd52fc309d37e4d3835a985e4a85c843b90cf9e6.tar.gz
CMake-dd52fc309d37e4d3835a985e4a85c843b90cf9e6.tar.bz2
Fix a memory leak.
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index bad26c5..56f6630 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;
}
}