mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
Fix dealloc order in hypotheses_reducer::reset()
This commit is contained in:
parent
689414d055
commit
9d4784baf6
1 changed files with 6 additions and 5 deletions
|
@ -174,14 +174,15 @@ proof_ref theory_axiom_reducer::reduce(proof* pr) {
|
|||
}
|
||||
|
||||
void hypothesis_reducer::reset() {
|
||||
m_cache.reset();
|
||||
m_units.reset();
|
||||
m_active_hyps.reset();
|
||||
m_parent_hyps.reset();
|
||||
for (auto t : m_pinned_active_hyps) dealloc(t);
|
||||
m_pinned_active_hyps.reset();
|
||||
m_active_hyps.reset();
|
||||
m_units.reset();
|
||||
m_cache.reset();
|
||||
for (auto t : m_pinned_parent_hyps) dealloc(t);
|
||||
m_pinned_parent_hyps.reset();
|
||||
for (auto t : m_pinned_active_hyps) dealloc(t);
|
||||
m_pinned_active_hyps.reset();
|
||||
m_pinned.reset();
|
||||
}
|
||||
|
||||
void hypothesis_reducer::compute_hypsets(proof *pr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue