summaryrefslogtreecommitdiff
path: root/src/smt/smt_engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/smt/smt_engine.cpp')
-rw-r--r--src/smt/smt_engine.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index d74adbbe3..12e31ec1c 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -1163,6 +1163,13 @@ SmtEngine::~SmtEngine() throw() {
try {
shutdown();
+ PROOF(
+ std::vector<Command*>::const_iterator itg = d_defineCommands.begin();
+ for (; itg != d_defineCommands.end(); ++itg) {
+ delete (*itg);
+ }
+ );
+
// global push/pop around everything, to ensure proper destruction
// of context-dependent data structures
d_context->popto(0);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback