Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
ea9af1f1
Commit
ea9af1f1
authored
Nov 15, 2004
by
Alexandre Duret-Lutz
Browse files
* src/tgbaalgos/replayrun.cc (replay_tgba_run): Fix a memory leak
if debug==false.
parent
78be3514
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
ea9af1f1
2004-11-15 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/replayrun.cc (replay_tgba_run): Fix a memory leak
if debug==false.
* src/tgbaalgos/randomgraph.cc (random_graph): Do declare all the
acceptance conditions in the produced automaton, in case they are
not actually used.
...
...
src/tgbaalgos/replayrun.cc
View file @
ea9af1f1
...
...
@@ -138,6 +138,10 @@ namespace spot
// browse the actual outgoing transitions
tgba_succ_iterator
*
j
=
a
->
succ_iter
(
s
);
// When not debugging, S is not used as key in SEEN, so we can
// delete it right now.
if
(
!
debug
)
delete
s
;
for
(
j
->
first
();
!
j
->
done
();
j
->
next
())
{
if
(
j
->
current_condition
()
!=
label
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment