Branch: Tag:

2021-09-25

2021-09-25 13:05:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: Fix type leak in find_lfun_type().

3895:    case T_OR:    case T_AND:    type_stack_mark(); -  push_finished_type(find_lfun_type(t->car, lfun)); -  push_finished_type(find_lfun_type(t->cdr, lfun)); +  push_finished_type(ret = find_lfun_type(t->car, lfun)); +  free_type(ret); +  push_finished_type(ret = find_lfun_type(t->cdr, lfun)); +  free_type(ret);    push_type(t->type);    return pop_unfinished_type();