From 9faaa311e042dc0a4839b0b1babf08284ec4ab06 Mon Sep 17 00:00:00 2001 From: Add00 Date: Tue, 1 Aug 2023 17:50:20 -0400 Subject: [PATCH] Fixed Memory Leak --- repl/lib_standard.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repl/lib_standard.c b/repl/lib_standard.c index 162011f..dde005b 100644 --- a/repl/lib_standard.c +++ b/repl/lib_standard.c @@ -2196,6 +2196,8 @@ int Toy_hookStandard(Toy_Interpreter* interpreter, Toy_Literal identifier, Toy_L Toy_freeLiteral(func); } + Toy_freeLiteralDictionary(dictionary); + return 0; }