Free temporary parameters.

This commit is contained in:
Danila Fedorin 2018-05-27 14:05:51 -07:00
parent 97fed0b4d1
commit 99c36be175

View File

@ -252,6 +252,8 @@ libab_result _interpreter_check_types(libab_ref_vec* reference_types,
} }
} }
libab_ref_trie_free(&function_params);
if (result != LIBAB_SUCCESS) { if (result != LIBAB_SUCCESS) {
libab_ref_vec_clear(types); libab_ref_vec_clear(types);
} }