mirror of
https://github.com/Z3Prover/z3
synced 2025-06-25 15:23:41 +00:00
Complete memory leak fix: add dealloc(m_imp) to lar_solver destructor
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
3a1a8a9f14
commit
43c35e4320
1 changed files with 1 additions and 0 deletions
|
@ -232,6 +232,7 @@ namespace lp {
|
|||
for (auto t : m_imp->m_terms)
|
||||
delete t;
|
||||
m_imp->m_var_register.clear();
|
||||
dealloc(m_imp);
|
||||
}
|
||||
|
||||
void lar_solver::clear_columns_with_changed_bounds() { m_imp->m_columns_with_changed_bounds.reset(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue