From 0b7b49d03db88d73e569ca5ffee8c26c7ba940ec Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sat, 11 Aug 2018 00:42:15 -0700 Subject: [PATCH] Fix memory leak caused by not freeing type. --- src/interactive.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/interactive.c b/src/interactive.c index b37334e..d1b50ba 100644 --- a/src/interactive.c +++ b/src/interactive.c @@ -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);