summaryrefslogtreecommitdiff
path: root/src/theory
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-03-28 12:37:37 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2013-03-28 12:37:37 -0400
commit602265cbcddc50e84c57cd5e8836c88503cf29e0 (patch)
treef377caab474b8788120d98c41784bb6a1a6637d0 /src/theory
parentc90564313e268e403ca9a6c13a80432bd7a6fa79 (diff)
fix memory corruption in arrays destructor
Diffstat (limited to 'src/theory')
-rw-r--r--src/theory/arrays/theory_arrays.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/arrays/theory_arrays.cpp b/src/theory/arrays/theory_arrays.cpp
index 9ed6de31f..783929f97 100644
--- a/src/theory/arrays/theory_arrays.cpp
+++ b/src/theory/arrays/theory_arrays.cpp
@@ -130,6 +130,10 @@ TheoryArrays::~TheoryArrays() {
StatisticsRegistry::unregisterStat(&d_numExplain);
StatisticsRegistry::unregisterStat(&d_numNonLinear);
StatisticsRegistry::unregisterStat(&d_numSharedArrayVarSplits);
+ StatisticsRegistry::unregisterStat(&d_numGetModelValSplits);
+ StatisticsRegistry::unregisterStat(&d_numGetModelValConflicts);
+ StatisticsRegistry::unregisterStat(&d_numSetModelValSplits);
+ StatisticsRegistry::unregisterStat(&d_numSetModelValConflicts);
StatisticsRegistry::unregisterStat(&d_checkTimer);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback