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
f54c78a9
Commit
f54c78a9
authored
Oct 24, 2003
by
Alexandre Duret-Lutz
Browse files
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::print_result):
Fix memory leak.
parent
e94415c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
f54c78a9
2003-10-24 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::print_result):
Fix memory leak.
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::check):
Simplify, reorganize, and comment.
* src/tgbaalgos/emptinesscheck.hh (emptiness_check::root_component):
...
...
src/tgbaalgos/emptinesscheck.cc
View file @
f54c78a9
...
...
@@ -219,29 +219,31 @@ namespace spot
os
<<
" "
;
if
(
restrict
)
{
os
<<
restrict
->
format_state
(
aut_
->
project_state
(
*
i_se
,
restrict
))
<<
std
::
endl
;
const
state
*
s
=
aut_
->
project_state
(
*
i_se
,
restrict
);
assert
(
s
);
os
<<
restrict
->
format_state
(
s
)
<<
std
::
endl
;
delete
s
;
}
else
{
os
<<
aut_
->
format_state
(
(
*
i_se
)
)
<<
std
::
endl
;
os
<<
aut_
->
format_state
(
*
i_se
)
<<
std
::
endl
;
}
}
os
<<
"Cycle:"
<<
std
::
endl
;
for
(
cycle_path
::
const_iterator
it
=
period
.
begin
();
it
!=
period
.
end
();
++
it
)
{
os
<<
" | "
<<
bdd_format_set
(
d
,
it
->
second
)
<<
std
::
endl
;
os
<<
" "
;
if
(
restrict
)
{
os
<<
" | "
<<
bdd_format_set
(
d
,
it
->
second
)
<<
std
::
endl
;
os
<<
restrict
->
format_state
(
aut_
->
project_state
(
it
->
first
,
restrict
))
<<
std
::
endl
;
const
state
*
s
=
aut_
->
project_state
(
it
->
first
,
restrict
)
;
assert
(
s
);
os
<<
restrict
->
format_state
(
s
)
<<
std
::
endl
;
delete
s
;
}
else
{
os
<<
" | "
<<
bdd_format_set
(
d
,
it
->
second
)
<<
std
::
endl
;
os
<<
aut_
->
format_state
(
it
->
first
)
<<
std
::
endl
;
}
}
...
...
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