Skip to content

Commit

Permalink
free memory the clean way
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Jan 20, 2024
1 parent 1754523 commit d32dcfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math/polynomial/algebraic_numbers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ namespace algebraic_numbers {
// actual root was found
scoped_mpq r(qm());
to_mpq(qm(), lower(c), r);
del(c);
del(a);
a = mk_basic_cell(r);
return false;
}
Expand Down

0 comments on commit d32dcfc

Please sign in to comment.