Fix memory leak caused by not freeing type.

This commit is contained in:
Danila Fedorin 2018-08-11 00:42:15 -07:00
parent 512d68000f
commit 0b7b49d03d

View File

@ -176,6 +176,7 @@ libab_result register_functions(libab* ab) {
libab_ref_free(&trig_type);
libab_ref_free(&atan2_type);
libab_ref_free(&difficult_type);
libab_ref_free(&equals_num_type);
libab_ref_free(&print_num_type);
libab_ref_free(&print_unit_type);
libab_ref_free(&print_bool_type);