mirror of
https://github.com/Z3Prover/z3
synced 2025-05-05 06:45:45 +00:00
fix exception unsafety leading to double free, issues #184 and issue #175. Location and fix strategy suggested by Nuno
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ff24375550
commit
7c9dd6b8a8
2 changed files with 19 additions and 9 deletions
|
@ -126,6 +126,8 @@ protected:
|
|||
|
||||
void del_equations(unsigned old_size);
|
||||
|
||||
void del_monomials(ptr_vector<monomial>& monomials);
|
||||
|
||||
void unfreeze_equations(unsigned old_size);
|
||||
|
||||
void del_equation(equation * eq);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue