Bill Hoffman 18 роки тому
батько
коміт
2e24dd1e5b

+ 1 - 0
Tests/Complex/Executable/complex.cxx

@@ -395,6 +395,7 @@ int main()
         cmPassed("Module loaded and ModuleFunction called correctly.");
       }
     }
+  cmDynamicLoader::FlushCache(); // fix memory leaks 
   if(sharedFunction() != 1)
     {
     cmFailed("Call to sharedFunction from shared library failed.");

+ 1 - 0
Tests/ComplexOneConfig/Executable/complex.cxx

@@ -395,6 +395,7 @@ int main()
         cmPassed("Module loaded and ModuleFunction called correctly.");
       }
     }
+  cmDynamicLoader::FlushCache(); // fix memory leaks 
   if(sharedFunction() != 1)
     {
     cmFailed("Call to sharedFunction from shared library failed.");

+ 1 - 0
Tests/ComplexRelativePaths/Executable/complex.cxx

@@ -395,6 +395,7 @@ int main()
         cmPassed("Module loaded and ModuleFunction called correctly.");
       }
     }
+  cmDynamicLoader::FlushCache(); // fix memory leaks 
   if(sharedFunction() != 1)
     {
     cmFailed("Call to sharedFunction from shared library failed.");