Fixes memory leaks in unit test.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
e361507ec9
commit
e5b2ff5c59
|
@ -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
|
Loading…
Reference in New Issue