3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 11:25:51 +00:00

another memory managment leak fix. Relates to different leak exposed by #3997

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-19 12:58:42 -07:00
parent 44957894ea
commit f76c6424f2
2 changed files with 5 additions and 6 deletions

View file

@ -297,11 +297,9 @@ public:
void del(interval& i) { m_imanager.del(i); }
template <enum with_deps_t wd> interval intersect(const interval& a, const interval& b) const {
interval i;
template <enum with_deps_t wd> void intersect(const interval& a, const interval& b, interval& i) const {
update_lower_for_intersection<wd>(a, b, i);
update_upper_for_intersection<wd>(a, b, i);
return i;
}
template <enum with_deps_t wd>