3
0
Fork 0
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:
Nikolaj Bjorner 2015-08-09 00:34:59 +02:00
parent ff24375550
commit 7c9dd6b8a8
2 changed files with 19 additions and 9 deletions

View file

@ -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);