summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim King <taking@google.com>2016-09-25 20:46:26 -0700
committerTim King <taking@google.com>2016-09-25 20:46:26 -0700
commit9178e41623a89ecfd9291e5c2b9393ed26b840ee (patch)
treea7f82aaa9fe1ec092c4e338fc07311c375da0026
parent7046f077401ab0883bf6ca5d1856ddeaa88da99e (diff)
Deleting the eager bitblasting solver if present in TheoryBV.
-rw-r--r--src/theory/bv/theory_bv.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/theory/bv/theory_bv.cpp b/src/theory/bv/theory_bv.cpp
index f0981044b..de596e3d5 100644
--- a/src/theory/bv/theory_bv.cpp
+++ b/src/theory/bv/theory_bv.cpp
@@ -100,8 +100,10 @@ TheoryBV::TheoryBV(context::Context* c, context::UserContext* u,
d_subtheoryMap[SUB_BITBLAST] = bb_solver;
}
-
TheoryBV::~TheoryBV() {
+ if (d_eagerSolver) {
+ delete d_eagerSolver;
+ }
for (unsigned i = 0; i < d_subtheories.size(); ++i) {
delete d_subtheories[i];
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback