* src/tgbaalgos/replayrun.cc (replay_tgba_run): Fix a memory leak
if debug==false.
This commit is contained in:
parent
78be35142d
commit
ea9af1f1b0
2 changed files with 7 additions and 0 deletions
|
|
@ -138,6 +138,10 @@ namespace spot
|
|||
|
||||
// browse the actual outgoing transitions
|
||||
tgba_succ_iterator* j = a->succ_iter(s);
|
||||
// When not debugging, S is not used as key in SEEN, so we can
|
||||
// delete it right now.
|
||||
if (!debug)
|
||||
delete s;
|
||||
for (j->first(); !j->done(); j->next())
|
||||
{
|
||||
if (j->current_condition() != label
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue