summaryrefslogtreecommitdiffstats
path: root/Tests/Complex/Executable/complex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Complex/Executable/complex.cxx')
-rw-r--r--Tests/Complex/Executable/complex.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx
index 0bfebb3..8eaa661 100644
--- a/Tests/Complex/Executable/complex.cxx
+++ b/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.");