Fixed a leak

This commit is contained in:
2023-02-05 20:46:55 +00:00
parent 3088c4fe6d
commit be91de9535

View File

@@ -104,6 +104,7 @@ static int nativeConcat(Toy_Interpreter* interpreter, Toy_LiteralArray* argument
TOY_FREE_ARRAY(char, buffer, length);
Toy_freeLiteral(selfLiteral);
Toy_freeLiteral(otherLiteral);
Toy_freeLiteral(result);
return 1;
}