ENH: fix leak

This commit is contained in:
Bill Hoffman 2007-08-21 12:31:32 -04:00
parent c1b3484c2d
commit 2e24dd1e5b
3 changed files with 3 additions and 0 deletions

View File

@ -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.");

View File

@ -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.");

View File

@ -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.");