mirror of
https://github.com/Z3Prover/z3
synced 2025-08-19 17:50:23 +00:00
fixing sources for double frees of clauses. #940
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
05c267b8d8
commit
72651e2e98
2 changed files with 5 additions and 2 deletions
|
@ -279,7 +279,10 @@ namespace sat {
|
|||
unsigned sz = c.size();
|
||||
if (sz == 0) {
|
||||
s.set_conflict(justification());
|
||||
return;
|
||||
for (; it != end; ++it, ++it2) {
|
||||
*it2 = *it;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (sz == 1) {
|
||||
s.assign(c[0], justification());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue