typo = memory leak

This commit is contained in:
2022-10-04 07:04:44 +11:00
parent ca24c4f211
commit 8ce7dd0d95

View File

@@ -116,7 +116,7 @@ static int consume(Interpreter* interpreter, LiteralArray* arguments) {
Literal idn = o; Literal idn = o;
if (parseIdentifierToValue(interpreter, &o)) { if (parseIdentifierToValue(interpreter, &o)) {
freeLiteral(o); freeLiteral(idn);
} }
if (IS_OPAQUE(o) && ((ArbitraryData*)(AS_OPAQUE(o)))->value == 42) { if (IS_OPAQUE(o) && ((ArbitraryData*)(AS_OPAQUE(o)))->value == 42) {