mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 12:28:44 +00:00
Fix memory leak in realclosure
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
1d761ea9a5
commit
09d3686d58
|
@ -770,10 +770,12 @@ namespace realclosure {
|
|||
}
|
||||
|
||||
void del_transcendental(transcendental * t) {
|
||||
bqim().del(t->m_interval);
|
||||
allocator().deallocate(sizeof(transcendental), t);
|
||||
}
|
||||
|
||||
void del_infinitesimal(infinitesimal * i) {
|
||||
bqim().del(i->m_interval);
|
||||
allocator().deallocate(sizeof(infinitesimal), i);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue