Test "ltl2tgba -FC" and plug the memory leaks of scc_map.

* src/tgbaalgos/scc.hh (scc_map::~scc_map): Declare it.
* src/tgbaalgos/scc.cc (scc_map::~scc_map): Implement it.
(scc_map::build_map): Delete duplicate states.
* src/tbbatest/ltl2tgba.test: Run ltl2tgba -FV to catch
memory leaks with valgrind.
This commit is contained in:
Alexandre Duret-Lutz 2009-05-28 18:18:00 +02:00
parent d74578ef6e
commit 352984293a
4 changed files with 30 additions and 1 deletions

View file

@ -1,5 +1,5 @@
#!/bin/sh
# Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
# Copyright (C) 2003, 2004, 2009 Laboratoire d'Informatique de Paris 6 (LIP6),
# département Systèmes Répartis Coopératifs (SRC), Université Pierre
# et Marie Curie.
#
@ -29,6 +29,7 @@ check ()
{
run 0 ./ltl2tgba "$1"
run 0 ./ltl2tgba -f "$1"
run 0 ./ltl2tgba -f -FC "$1"
}
# We don't check the output, but just running these might be enough to