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

* src/tgbaalgos/magic.cc (magic_search::~magic_search): Release

all iterators on the stack.
(magic_search::check): Release iterators that are popped off the
stack.
parent 57ddf52d
2004-01-26 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/magic.cc (magic_search::~magic_search): Release
all iterators on the stack.
(magic_search::check): Release iterators that are popped off the
stack.
* src/tgbatest/explpro2.test: Fix reordering regex.
* src/tgbatest/defs.in (run): Use libtool --mode=execute.
......
// Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
// Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
// dpartement Systmes Rpartis Coopratifs (SRC), Universit Pierre
// et Marie Curie.
//
......@@ -43,6 +43,12 @@ namespace spot
}
if (x)
delete x;
// Release all iterators on the stack.
while (! stack.empty())
{
delete stack.front().second;
stack.pop_front();
}
}
void
......@@ -124,6 +130,7 @@ namespace spot
}
const state* s = p.first.s;
delete i;
stack.pop_front();
if (! magic && a->state_is_accepting(s))
......
Supports Markdown
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