mirror of
https://github.com/Z3Prover/z3
synced 2025-08-14 23:05:26 +00:00
fix memory abuse in internalization in inc-sat-solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
596f07e548
commit
ff75f88c4f
7 changed files with 177 additions and 78 deletions
|
@ -113,7 +113,7 @@ private:
|
|||
expr_ref fml(m);
|
||||
expr_ref_vector fmls(m);
|
||||
for (unsigned i = 0; i < m_assertions.size(); ++i) {
|
||||
m_rewriter.assert_expr(m_assertions[i].get(), fml, proof);
|
||||
m_rewriter(m_assertions[i].get(), fml, proof);
|
||||
m_solver->assert_expr(fml);
|
||||
}
|
||||
m_rewriter.flush_side_constraints(fmls);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue