Skip to content

Commit

Permalink
vere: don't double free egg (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkova authored Jan 10, 2025
2 parents cca16e3 + c6c9e6d commit e0838e1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/vere/io/behn.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ _behn_wake_bail(u3_ovum* egg_u, u3_noun lud)
}
else {
u3l_log("vere: warning: continuing without timers");
u3z(lud);
u3_ovum_free(egg_u);
}
}
}
Expand Down Expand Up @@ -194,7 +192,7 @@ _behn_io_kick(u3_auto* car_u, u3_noun wir, u3_noun cad)

if ( (c3n == u3r_cell(wir, &i_wir, 0))
|| (c3n == u3r_cell(cad, &tag, &dat))
|| (c3__behn != i_wir)
|| (c3__behn != i_wir)
|| (c3__doze != tag) )
{
ret_o = c3n;
Expand Down

0 comments on commit e0838e1

Please sign in to comment.