Skip to content

Commit

Permalink
add a missing free in subtyping (#31668)
Browse files Browse the repository at this point in the history
(cherry picked from commit b08f120)
  • Loading branch information
JeffBezanson authored and KristofferC committed Apr 15, 2019
1 parent 8a84ba5 commit 10a843f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/subtype.c
Original file line number Diff line number Diff line change
Expand Up @@ -1138,6 +1138,7 @@ static int forall_exists_subtype(jl_value_t *x, jl_value_t *y, jl_stenv_t *e, in
int set = e->Lunions.more;
if (!sub || !set)
break;
free(se.buf);
save_env(e, &saved, &se);
for (int i = set; i <= lastset; i++)
statestack_set(&e->Lunions, i, 0);
Expand Down

0 comments on commit 10a843f

Please sign in to comment.