mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 21:38:44 +00:00
add missing detach in coi_filter
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6a820adfed
commit
661fe7eec9
|
@ -42,7 +42,7 @@ namespace datalog {
|
|||
scoped_ptr<rule_set> result1 = top_down(source);
|
||||
scoped_ptr<rule_set> result2 = bottom_up(result1?*result1:source);
|
||||
if (!result2) {
|
||||
result2 = result1;
|
||||
result2 = result1.detach();
|
||||
}
|
||||
return result2.detach();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue