mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Fixed Memory Leak
This commit is contained in:
@@ -2196,6 +2196,8 @@ int Toy_hookStandard(Toy_Interpreter* interpreter, Toy_Literal identifier, Toy_L
|
|||||||
Toy_freeLiteral(func);
|
Toy_freeLiteral(func);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Toy_freeLiteralDictionary(dictionary);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user