MCPcopy Create free account
hub / github.com/git/git / free_state

Function free_state

compat/regex/regex_internal.c:1606–1620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1604 }
1605 spot->array[spot->num++] = newstate;
1606 return REG_NOERROR;
1607}
1608
1609static void
1610free_state (re_dfastate_t *state)
1611{
1612 re_node_set_free (&state->non_eps_nodes);
1613 re_node_set_free (&state->inveclosure);
1614 if (state->entrance_nodes != &state->nodes)
1615 {
1616 re_node_set_free (state->entrance_nodes);
1617 re_free (state->entrance_nodes);
1618 }
1619 re_node_set_free (&state->nodes);
1620 re_free (state->word_trtable);
1621 re_free (state->trtable);
1622 re_free (state);
1623}

Callers 3

create_ci_newstateFunction · 0.85
create_cd_newstateFunction · 0.85
free_dfa_contentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected