diff --git a/library/testing/TestSDKEngineRecreation.cxx b/library/testing/TestSDKEngineRecreation.cxx index 56cd02101e..a5de09fced 100644 --- a/library/testing/TestSDKEngineRecreation.cxx +++ b/library/testing/TestSDKEngineRecreation.cxx @@ -18,7 +18,7 @@ int TestSDKEngineRecreation(int argc, char* argv[]) { f3d::engine* eng2 = new f3d::engine(f3d::engine::create(false)); eng2->getInteractor().playInteraction(interactionFilePath); + delete eng2; } - delete eng2; return EXIT_SUCCESS; }