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

Fix a memory leak in Cou99 statistics.

* src/tgbaalgos/gtec/ce.cc (couvreur99_check_result::acss_states):
Delete the iterator after using it.
* src/tgbatest/emptchkr.test: Run 'randtgba -z' with valgrind too.
parent 99884e8e
2010-01-21 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Fix a memory leak in Cou99 statistics.
* src/tgbaalgos/gtec/ce.cc (couvreur99_check_result::acss_states):
Delete the iterator after using it.
* src/tgbatest/emptchkr.test: Run 'randtgba -z' with valgrind too.
2010-01-21 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Fix a longstanding bug in our implementation of GV04.
......
// Copyright (C) 2004, 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
// et Marie Curie.
// Copyright (C) 2010 Laboratoire de Recherche et Développement de
// l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
//
......@@ -92,6 +94,7 @@ namespace spot
for (i->first(); !i->done(); i->next())
if (i->get_index() >= scc_root)
++count;
delete i;
return count;
}
......
#!/bin/sh
# Copyright (C) 2004, 2009 Laboratoire d'Informatique de Paris 6 (LIP6),
# Copyright (C) 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
# dpartement Systmes Rpartis Coopratifs (SRC), Universit Pierre
# et Marie Curie.
# Copyright (C) 2009, 2010 Laboratoire de Recherche de Dveloppement de
# l'Epita (LRDE).
#
# This file is part of Spot, a model checking library.
#
......@@ -29,6 +31,9 @@ set -e
# With no acceptance condition, everyone should agree and find a run.
# Do not spend to much time checking this.
run 0 ../randtgba -e 10 -s 0 -r -m
# Test some statistic output
run 0 ../randtgba -z -e 10 -s 0 -r -m
run 0 ../randtgba -1 -e 10 -s 0 -r -m
# One acceptance condition
run 0 ../randtgba -e 100 -s 0 -r -m -a 1 0.1 -d 0.01
......
Markdown is supported
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