diff options
author | Tim King <taking@google.com> | 2016-09-25 20:46:26 -0700 |
---|---|---|
committer | Tim King <taking@google.com> | 2016-09-25 20:46:26 -0700 |
commit | 9178e41623a89ecfd9291e5c2b9393ed26b840ee (patch) | |
tree | a7f82aaa9fe1ec092c4e338fc07311c375da0026 /src/theory/bv/theory_bv.cpp | |
parent | 7046f077401ab0883bf6ca5d1856ddeaa88da99e (diff) |
Deleting the eager bitblasting solver if present in TheoryBV.
Diffstat (limited to 'src/theory/bv/theory_bv.cpp')
-rw-r--r-- | src/theory/bv/theory_bv.cpp | 4 |
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]; } |