projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff498bb
)
quashing debug memory leak
author
Chad Brewbaker
<crb002@gmail.com>
Sat, 7 Jan 2017 04:56:07 +0000
(22:56 -0600)
committer
Chad Brewbaker
<crb002@gmail.com>
Sat, 7 Jan 2017 04:56:07 +0000
(22:56 -0600)
src/smt/smt_engine.cpp
patch
|
blob
|
history
diff --git
a/src/smt/smt_engine.cpp
b/src/smt/smt_engine.cpp
index a79416b76ecac68ca00d70b590d707885154a2f7..9f4929d0b6d0c3c42f727ac7425bf1555c99eb89 100644
(file)
--- a/
src/smt/smt_engine.cpp
+++ b/
src/smt/smt_engine.cpp
@@
-4255,6
+4255,9
@@
void SmtEnginePrivate::processAssertions() {
d_assertions.clear();
d_iteSkolemMap.clear();
+ #ifdef CVC4_ASSERTIONS
+ Rewriter::clearCaches();
+ #endif
}
void SmtEnginePrivate::addFormula(TNode n, bool inUnsatCore, bool inInput)