[Cmake-commits] [cmake-commits] zach.mullen committed cmCTestMultiProcessHandler.cxx 1.36 1.37

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Dec 10 09:39:23 EST 2009


Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv25778

Modified Files:
	cmCTestMultiProcessHandler.cxx 
Log Message:
Fix memory leak that occurred when a test executable could not be started.  (See BadExe test)


Index: cmCTestMultiProcessHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestMultiProcessHandler.cxx,v
retrieving revision 1.36
retrieving revision 1.37
diff -C 2 -d -r1.36 -r1.37
*** cmCTestMultiProcessHandler.cxx	16 Nov 2009 15:58:41 -0000	1.36
--- cmCTestMultiProcessHandler.cxx	10 Dec 2009 14:39:19 -0000	1.37
***************
*** 106,109 ****
--- 106,110 ----
      testRun->EndTest(this->Completed, this->Total, false);
      this->Failed->push_back(this->Properties[test]->Name);
+     delete testRun;
      }
    cmSystemTools::ChangeDirectory(current_dir.c_str());



More information about the Cmake-commits mailing list