Fixed Memory Leak

This commit is contained in:
Add00
2023-08-01 17:50:20 -04:00
parent f5ba1181c0
commit 9faaa311e0

View File

@@ -2196,6 +2196,8 @@ int Toy_hookStandard(Toy_Interpreter* interpreter, Toy_Literal identifier, Toy_L
Toy_freeLiteral(func);
}
Toy_freeLiteralDictionary(dictionary);
return 0;
}