Fix functions remaining allocated after program exit.

This commit is contained in:
Danila Fedorin 2018-06-02 12:42:06 -07:00
parent 6080c3f250
commit 0db929b7f7

View File

@ -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;
} }