3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-21 02:30:23 +00:00

refcount leaks

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-06-09 14:19:26 -07:00
parent 4fdfc65b37
commit e3d45b9850
3 changed files with 9 additions and 6 deletions

View file

@ -134,7 +134,7 @@ public:
result = mk_eq(lhs, rhs);
}
expr_ref mk_eq_rw(expr* lhs, expr* rhs) {
expr_ref r(m());
expr_ref r(m()), _lhs(lhs, m()), _rhs(rhs, m());
mk_eq(lhs, rhs, r);
return r;
}