Fix functions remaining allocated after program exit.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user