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

Function free_tree

compat/regex/regcomp.c:3842–3847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3840{
3841#ifdef RE_ENABLE_I18N
3842 if (node->type == COMPLEX_BRACKET && node->duplicated == 0)
3843 free_charset (node->opr.mbcset);
3844 else
3845#endif /* RE_ENABLE_I18N */
3846 if (node->type == SIMPLE_BRACKET && node->duplicated == 0)
3847 re_free (node->opr.sbcset);
3848}
3849
3850/* Worker function for tree walking. Free the allocated memory inside NODE

Callers

nothing calls this directly

Calls 1

free_tokenFunction · 0.85

Tested by

no test coverage detected