mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
(free_dfa_content): Use free_state.
This commit is contained in:
parent
4f45afaa9a
commit
b14993a235
@ -602,15 +602,7 @@ free_dfa_content (re_dfa_t *dfa)
|
||||
for (j = 0; j < entry->num; ++j)
|
||||
{
|
||||
re_dfastate_t *state = entry->array[j];
|
||||
if (state->entrance_nodes != &state->nodes)
|
||||
{
|
||||
re_node_set_free (state->entrance_nodes);
|
||||
re_free (state->entrance_nodes);
|
||||
}
|
||||
re_node_set_free (&state->nodes);
|
||||
re_free (state->trtable);
|
||||
re_free (state->trtable_search);
|
||||
re_free (state);
|
||||
free_state (state);
|
||||
}
|
||||
re_free (entry->array);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user