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

Fix two formula leaks.

* src/ltlvisit/simplify.cc (reduce_sere_ltl): Here.
* src/ltltest/reduccmp.test: Add a test case.
parent 1f545812
......@@ -329,6 +329,7 @@ for x in ../reduccmp ../reductaustr; do
run 0 $x '{a;(b[*2..4];c*;([*0]+{d;e}))*}!' \
'{a;(b[*2..4];c*;([*0]+{d;e}))*}!'
run 0 $x '{((a*;b)+[*0])[*4..6]}!' '{((a*;b))[*0..6]}!'
run 0 $x '{c[*];e[*]}[]-> a' '{c[*];e[*]}[]-> a'
;;
esac
......
......@@ -1567,6 +1567,7 @@ namespace spot
result_ = recurse_destroy(result_);
return true;
}
r->destroy();
}
// {s[*];r}[]->b = !s R ({r}[]->b)
// if s is Boolean and r does not accept [*0];
......@@ -1588,6 +1589,7 @@ namespace spot
result_ = recurse_destroy(result_);
return true;
}
r->destroy();
}
// {r₁;r₂;r₃}[]->b = {r₁}[]->X({r₂}[]->X({r₃}[]->b))
......
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