mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
ENH: fix leak
This commit is contained in:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user