mirror of
https://github.com/Z3Prover/z3
synced 2025-05-11 09:44:43 +00:00
Fix memory smash on double free of clauses
Signed-off-by: nikolajbjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a96a9a076d
commit
0d9f949ab2
6 changed files with 32 additions and 1 deletions
|
@ -227,6 +227,7 @@ namespace sat {
|
|||
}
|
||||
|
||||
void simplifier::cleanup_clauses(clause_vector & cs, bool learned, bool vars_eliminated, bool in_use_lists) {
|
||||
TRACE("sat", tout << "cleanup_clauses\n";);
|
||||
clause_vector::iterator it = cs.begin();
|
||||
clause_vector::iterator it2 = it;
|
||||
clause_vector::iterator end = cs.end();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue