Found a memory leak

This commit is contained in:
2022-10-02 14:20:01 +01:00
parent cfcd8aa752
commit 39aa3ca51d
2 changed files with 13 additions and 0 deletions

View File

@@ -138,6 +138,11 @@ static int nativeInitWindow(Interpreter* interpreter, LiteralArray* arguments) {
//only run with a window
engine.running = true;
freeLiteral(caption);
freeLiteral(screenWidth);
freeLiteral(screenHeight);
freeLiteral(fscreen);
return 0;
}