Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
be6053eb
Commit
be6053eb
authored
Apr 26, 2007
by
Michael Beck
Browse files
BugFix: get_next_neighbour(): free the nodeset allocated in the iterator when next steps outside:
[r13475]
parent
cbd71fa6
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/beifg_std.c
View file @
be6053eb
...
...
@@ -183,6 +183,9 @@ static INLINE void neighbours_break(adj_iter_t *it, int force)
static
ir_node
*
get_next_neighbour
(
adj_iter_t
*
it
)
{
ir_node
*
res
=
ir_nodeset_iterator_next
(
&
it
->
iter
);
if
(
res
==
NULL
)
{
ir_nodeset_destroy
(
&
it
->
neighbours
);
}
return
res
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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