[cmake-commits] hoffman committed complex.cxx 1.93 1.94

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Aug 21 12:31:34 EDT 2007


Update of /cvsroot/CMake/CMake/Tests/Complex/Executable
In directory public:/mounts/ram/cvs-serv25252/Executable

Modified Files:
	complex.cxx 
Log Message:
ENH: fix leak


Index: complex.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Complex/Executable/complex.cxx,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- complex.cxx	16 May 2007 15:40:53 -0000	1.93
+++ complex.cxx	21 Aug 2007 16:31:32 -0000	1.94
@@ -395,6 +395,7 @@
         cmPassed("Module loaded and ModuleFunction called correctly.");
       }
     }
+  cmDynamicLoader::FlushCache(); // fix memory leaks 
   if(sharedFunction() != 1)
     {
     cmFailed("Call to sharedFunction from shared library failed.");



More information about the Cmake-commits mailing list