ENH: fix leak
This commit is contained in:
parent
c1b3484c2d
commit
2e24dd1e5b
|
@ -395,6 +395,7 @@ int main()
|
||||||
cmPassed("Module loaded and ModuleFunction called correctly.");
|
cmPassed("Module loaded and ModuleFunction called correctly.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
cmDynamicLoader::FlushCache(); // fix memory leaks
|
||||||
if(sharedFunction() != 1)
|
if(sharedFunction() != 1)
|
||||||
{
|
{
|
||||||
cmFailed("Call to sharedFunction from shared library failed.");
|
cmFailed("Call to sharedFunction from shared library failed.");
|
||||||
|
|
|
@ -395,6 +395,7 @@ int main()
|
||||||
cmPassed("Module loaded and ModuleFunction called correctly.");
|
cmPassed("Module loaded and ModuleFunction called correctly.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
cmDynamicLoader::FlushCache(); // fix memory leaks
|
||||||
if(sharedFunction() != 1)
|
if(sharedFunction() != 1)
|
||||||
{
|
{
|
||||||
cmFailed("Call to sharedFunction from shared library failed.");
|
cmFailed("Call to sharedFunction from shared library failed.");
|
||||||
|
|
|
@ -395,6 +395,7 @@ int main()
|
||||||
cmPassed("Module loaded and ModuleFunction called correctly.");
|
cmPassed("Module loaded and ModuleFunction called correctly.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
cmDynamicLoader::FlushCache(); // fix memory leaks
|
||||||
if(sharedFunction() != 1)
|
if(sharedFunction() != 1)
|
||||||
{
|
{
|
||||||
cmFailed("Call to sharedFunction from shared library failed.");
|
cmFailed("Call to sharedFunction from shared library failed.");
|
||||||
|
|
Loading…
Reference in New Issue