summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-06-07 18:03:56 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-06-07 18:03:56 (GMT)
commitf0d36581025fb83c0cfdd7cf9ade28dd1de5f8ea (patch)
treed5c6898875a86ac765cfa39465dfc98ed9a85e2f /Source
parent33b3d10d6e5aaa756fd1e0701caaa4f305e9245a (diff)
parentdd52fc309d37e4d3835a985e4a85c843b90cf9e6 (diff)
downloadCMake-f0d36581025fb83c0cfdd7cf9ade28dd1de5f8ea.zip
CMake-f0d36581025fb83c0cfdd7cf9ade28dd1de5f8ea.tar.gz
CMake-f0d36581025fb83c0cfdd7cf9ade28dd1de5f8ea.tar.bz2
Merge topic 'fix_leak'
dd52fc3 Fix a memory leak.
Diffstat (limited to 'Source')
-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;
}
}