Fix functions remaining allocated after program exit.
This commit is contained in:
parent
6080c3f250
commit
0db929b7f7
|
@ -839,6 +839,7 @@ libab_result libab_interpreter_run_function(libab_interpreter* intr,
|
||||||
}
|
}
|
||||||
|
|
||||||
_interpreter_free(&state);
|
_interpreter_free(&state);
|
||||||
|
libab_ref_free(&function_value);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user