projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f5698e
)
move delete beyond ifdef CVC4_COMPETITION_MODE
author
Kshitij Bansal
<kshitij@cs.nyu.edu>
Tue, 9 Jun 2015 00:19:57 +0000
(20:19 -0400)
committer
Kshitij Bansal
<kshitij@cs.nyu.edu>
Tue, 9 Jun 2015 00:19:57 +0000
(20:19 -0400)
src/main/command_executor_portfolio.cpp
patch
|
blob
|
history
diff --git
a/src/main/command_executor_portfolio.cpp
b/src/main/command_executor_portfolio.cpp
index e4effd2394094dcede0694ee4ee7b6816b3a9158..53200ab7a9694c1391524c13b939dfbaeb516382 100644
(file)
--- a/
src/main/command_executor_portfolio.cpp
+++ b/
src/main/command_executor_portfolio.cpp
@@
-318,9
+318,6
@@
bool CommandExecutorPortfolio::doCommandSingleton(Command* cmd)
d_statWaitTime.stop();
#endif /* CVC4_STATISTICS_ON */
- delete d_seq;
- d_seq = new CommandSequence();
-
d_lastWinner = portfolioReturn.first;
d_result = d_smts[d_lastWinner]->getStatusOfLastCommand();
@@
-355,6
+352,9
@@
bool CommandExecutorPortfolio::doCommandSingleton(Command* cmd)
/* cleanup this check sat specific stuff */
lemmaSharingCleanup();
+ delete d_seq;
+ d_seq = new CommandSequence();
+
delete[] fns;
bool status = portfolioReturn.second;