* src/tgbaalgos/replayrun.cc (replay_tgba_run): Do not leak

the initial state when no valid outgoing transition is found.
This commit is contained in:
Alexandre Duret-Lutz 2004-11-08 15:39:52 +00:00
parent 7afd10420a
commit 263afcd22a
2 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2004-11-08 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/replayrun.cc (replay_tgba_run): Do not leak
the initial state when no valid outgoing transition is found.
* src/tgbaparse/tgbaparse.yy: Add `%destructor's so the parser
does not leak on errors.
* src/tgbatest/ltl2tgba.cc: Free the automata if it could not be

View file

@ -166,6 +166,7 @@ namespace spot
delete s2;
}
delete j;
delete s;
return false;
}
os << "transition";