Commit 058bb83c authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Fix a memory leak in randltl.

* src/ltltest/randltl.cc: Free the atomic properties from AP
before exit.
parent edd4b2b5
2009-09-07 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Fix a memory leak in randltl.
* src/ltltest/randltl.cc: Free the atomic properties from AP
before exit.
2009-09-04 Damien Lefortier <dam@lrde.epita.fr>
Add an algorithm (from Couvreur) working on BDDs to reduce the
......
// Copyright (C) 2003, 2005, 2008 Laboratoire d'Informatique de Paris 6 (LIP6),
// Copyright (C) 2003, 2005, 2008, 2009 Laboratoire d'Informatique de Paris 6 (LIP6),
// dpartement Systmes Rpartis Coopratifs (SRC), Universit Pierre
// et Marie Curie.
//
......@@ -217,5 +217,13 @@ main(int argc, char** argv)
}
}
}
spot::ltl::atomic_prop_set::const_iterator i = ap->begin();
while (i != ap->end())
{
spot::ltl::atomic_prop_set::const_iterator j = i;
++i;
spot::ltl::destroy(*j);
}
delete ap;
}
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