Commit 4964c9a1 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Fix a memory leak in reduce_tau03().

* src/ltlvisit/contain.cc (reduce_tau03_visitor::visit): Free
the operand array when a multop reduces to a constant.
parent 058bb83c
2009-09-07 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Fix a memory leak in reduce_tau03().
* src/ltlvisit/contain.cc (reduce_tau03_visitor::visit): Free
the operand array when a multop reduces to a constant.
2009-09-07 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Fix a memory leak in randltl.
......
// Copyright (C) 2006, 2007 Laboratoire d'Informatique de Paris 6 (LIP6),
// Copyright (C) 2006, 2007, 2009 Laboratoire d'Informatique de Paris 6 (LIP6),
// dpartement Systmes Rpartis Coopratifs (SRC), Universit Pierre
// et Marie Curie.
//
......@@ -331,6 +331,7 @@ namespace spot
for (unsigned i = 0; i < mos; ++i)
if ((*res)[i])
destroy((*res)[i]);
delete res;
}
formula*
......
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