Commit 1a50ae3b authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/ltlvisit/simplify.cc: Add missing call to recurse_destroy().

parent 4a9bbbaf
...@@ -1826,7 +1826,7 @@ namespace spot ...@@ -1826,7 +1826,7 @@ namespace spot
if (c_->implication_neg(b, a, true)) if (c_->implication_neg(b, a, true))
{ {
a->destroy(); a->destroy();
result_ = unop::instance(unop::G, b); result_ = recurse_destroy(unop::instance(unop::G, b));
return; return;
} }
if (b->kind() == formula::BinOp) if (b->kind() == formula::BinOp)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment