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

Function re_string_destruct

compat/regex/regex_internal.c:909–919  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

907 return pstr->raw_mbs[pstr->raw_mbs_idx + pstr->cur_idx++];
908}
909
910static void
911internal_function
912re_string_destruct (re_string_t *pstr)
913{
914#ifdef RE_ENABLE_I18N
915 re_free (pstr->wcs);
916 re_free (pstr->offsets);
917#endif /* RE_ENABLE_I18N */
918 if (pstr->mbs_allocated)
919 re_free (pstr->mbs);
920}
921
922/* Return the context at IDX in INPUT. */

Callers 2

re_search_internalFunction · 0.85
re_compile_internalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected