Fixes memory leaks in unit test.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2021-03-27 22:29:28 +01:00
parent e361507ec9
commit e5b2ff5c59
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 2 additions and 0 deletions

View File

@ -403,7 +403,9 @@ TEST_CASE("Add Volatile with return script function") {
REQUIRE(ctx->GetReturnDWord() == 1); REQUIRE(ctx->GetReturnDWord() == 1);
ctxPool->ReturnContextToPool(ctx); ctxPool->ReturnContextToPool(ctx);
delete mon;
delete script; delete script;
delete mainLib;
} }
#endif #endif