diff options
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]; } |