3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-25 07:13: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:
copilot-swe-agent[bot] 2025-06-20 23:47:19 +00:00
parent 3a1a8a9f14
commit 43c35e4320

View file

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