mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
typo = memory leak
This commit is contained in:
@@ -116,7 +116,7 @@ static int consume(Interpreter* interpreter, LiteralArray* arguments) {
|
||||
Literal idn = o;
|
||||
|
||||
if (parseIdentifierToValue(interpreter, &o)) {
|
||||
freeLiteral(o);
|
||||
freeLiteral(idn);
|
||||
}
|
||||
|
||||
if (IS_OPAQUE(o) && ((ArbitraryData*)(AS_OPAQUE(o)))->value == 42) {
|
||||
|
||||
Reference in New Issue
Block a user