MCPcopy Index your code
hub / github.com/git/git / free_preprocessed_options

Function free_preprocessed_options

parse-options.c:970–982  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

968}
969
970static void free_preprocessed_options(struct option *options)
971{
972 int i;
973
974 if (!options)
975 return;
976
977 for (i = 0; options[i].type != OPTION_END; i++) {
978 if (options[i].flags & PARSE_OPT_FROM_ALIAS)
979 free((void *)options[i].help);
980 }
981 free(options);
982}
983
984#define USAGE_NORMAL 0
985#define USAGE_FULL 1

Callers 1

parse_optionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected