fix for memory leak in BVQuickCheck
authorlianah <lianahady@gmail.com>
Tue, 14 Oct 2014 23:22:25 +0000 (16:22 -0700)
committerlianah <lianahady@gmail.com>
Tue, 14 Oct 2014 23:22:25 +0000 (16:22 -0700)
src/theory/bv/bv_quick_check.cpp

index b2b4eebdf3456061ab057068af450c8936c298b2..cc294306a6301bccb37cc484a2bc5a5097b32910 100644 (file)
@@ -141,6 +141,7 @@ void BVQuickCheck::collectModelInfo(theory::TheoryModel* model, bool fullModel)
 
 BVQuickCheck::~BVQuickCheck() {
   delete d_bitblaster;
+  delete d_ctx;
 }
 
 QuickXPlain::QuickXPlain(const std::string& name, BVQuickCheck* solver, unsigned long budget)