Working on memory issues

This commit is contained in:
2022-08-28 01:35:00 +01:00
parent 3355c3a4c2
commit 9c766ec61e
3 changed files with 5 additions and 1 deletions

View File

@@ -42,6 +42,8 @@ bool injectNativeFn(Interpreter* interpreter, char* name, NativeFn func) {
setLiteralDictionary(&interpreter->scope->variables, identifier, fn);
setLiteralDictionary(&interpreter->scope->types, identifier, type);
freeLiteral(identifier);
return true;
}