ltl_to_tgba_fm: fix a memory leak on abort
This issue surfaced in twacube.test after the previous patches. * spot/twaalgos/ltl2tgba_fm.cc: Release the formula namer on abort. * NEWS: Mention the bug.
This commit is contained in:
parent
843c4cdb91
commit
c2a3f2941d
2 changed files with 5 additions and 0 deletions
|
|
@ -2031,6 +2031,7 @@ namespace spot
|
|||
{
|
||||
if (aborter && aborter->too_large(a))
|
||||
{
|
||||
a->release_formula_namer(namer, false);
|
||||
if (!simplifier)
|
||||
delete s;
|
||||
return nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue