mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
free memory in nex_creator during GB init
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
519bbc5af1
commit
580f229a16
3 changed files with 8 additions and 3 deletions
|
@ -593,7 +593,7 @@ void nex_creator::process_map_pair(nex*e, const rational& coeff, nex_sum & sum,
|
|||
}
|
||||
bool e_is_old = allocated_nexs.find(e) != allocated_nexs.end();
|
||||
if (!e_is_old) {
|
||||
m_allocated.push_back(e);
|
||||
add_to_allocated(e);
|
||||
}
|
||||
if (e->is_mul()) {
|
||||
e->to_mul().m_coeff = coeff;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue