diff --git a/tests/ScriptTests/BaseScriptClassTests.cpp b/tests/ScriptTests/BaseScriptClassTests.cpp index 0e4bca4..3396cea 100644 --- a/tests/ScriptTests/BaseScriptClassTests.cpp +++ b/tests/ScriptTests/BaseScriptClassTests.cpp @@ -403,7 +403,9 @@ TEST_CASE("Add Volatile with return script function") { REQUIRE(ctx->GetReturnDWord() == 1); ctxPool->ReturnContextToPool(ctx); + delete mon; delete script; + delete mainLib; } #endif \ No newline at end of file