summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/model_engine.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2014-04-29 19:51:29 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2014-04-29 21:03:55 -0400
commitc95872d478a9ff1f207b8945dba558ae4547f054 (patch)
tree94cccf1ae397db049e61c69f59093b9856e324c1 /src/theory/quantifiers/model_engine.cpp
parent03c1daa126ecd86d1434c7512b73723687ea8ca0 (diff)
Mostly resolves bug #561 memory leaks, and more.
Diffstat (limited to 'src/theory/quantifiers/model_engine.cpp')
-rw-r--r--src/theory/quantifiers/model_engine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/quantifiers/model_engine.cpp b/src/theory/quantifiers/model_engine.cpp
index d7b074acc..3a4879b42 100644
--- a/src/theory/quantifiers/model_engine.cpp
+++ b/src/theory/quantifiers/model_engine.cpp
@@ -53,6 +53,10 @@ QuantifiersModule( qe ){
}
}
+ModelEngine::~ModelEngine() {
+ delete d_builder;
+}
+
void ModelEngine::check( Theory::Effort e ){
if( e==Theory::EFFORT_LAST_CALL && !d_quantEngine->hasAddedLemma() ){
int addedLemmas = 0;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback