summaryrefslogtreecommitdiff
path: root/src/theory/bv/bitblaster_template.h
diff options
context:
space:
mode:
authorTim King <taking@google.com>2016-11-07 10:24:11 -0800
committerTim King <taking@google.com>2016-11-07 10:24:11 -0800
commite6364f7d8f368f9c03857fa433ea452b58e54514 (patch)
tree2cb720cfc39679c7032a7b28db50c2baddadd82c /src/theory/bv/bitblaster_template.h
parent7fa16f98bbc1cdfa450c55086dc093a9963b63d5 (diff)
Fixing a memory leak in the eager bitblaster.
Diffstat (limited to 'src/theory/bv/bitblaster_template.h')
-rw-r--r--src/theory/bv/bitblaster_template.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/bv/bitblaster_template.h b/src/theory/bv/bitblaster_template.h
index 929bccada..0a7d165a2 100644
--- a/src/theory/bv/bitblaster_template.h
+++ b/src/theory/bv/bitblaster_template.h
@@ -266,7 +266,8 @@ class EagerBitblaster : public TBitblaster<Node> {
TNodeSet d_bbAtoms;
TNodeSet d_variables;
- MinisatEmptyNotify d_notify;
+ // This is either an MinisatEmptyNotify or NULL.
+ MinisatEmptyNotify* d_notify;
Node getModelFromSatSolver(TNode a, bool fullModel);
bool isSharedTerm(TNode node);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback