diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2011-06-06 20:41:17 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2011-06-06 20:41:17 (GMT) |
commit | dd52fc309d37e4d3835a985e4a85c843b90cf9e6 (patch) | |
tree | 267139cb7c039b97f24b625218b84e849b76d0b3 /Source/CTest | |
parent | 4b652ad0d9c83b30ac34f53a1b90fc0a153c6293 (diff) | |
download | CMake-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.cxx | 1 |
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; } } |