fix some memory leaks

This commit is contained in:
2025-07-09 14:47:16 +01:00
parent 66b44e8f3a
commit fe7eaa8de3
4 changed files with 12 additions and 12 deletions

View File

@@ -291,7 +291,7 @@ Execution execute(char *absolute_path) {
RuntimeState state = init_runtime_state(translated);
Stack main_scope = create_scope(NULL);
ArErr err = runtime(translated, state, main_scope);
free(state.registers);
end = clock();
time_spent = (double)(end - start) / CLOCKS_PER_SEC;
total_time_spent += time_spent;