Fix memory leak caused by not freeing type.
This commit is contained in:
parent
512d68000f
commit
0b7b49d03d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user