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

Function cmdnames_release

help.c:172–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172void cmdnames_release(struct cmdnames *cmds)
173{
174 int i;
175 for (i = 0; i < cmds->cnt; ++i)
176 free(cmds->names[i]);
177 free(cmds->names);
178 cmds->cnt = 0;
179 cmds->alloc = 0;
180}
181
182static int cmdname_compare(const void *a_, const void *b_)
183{

Callers 4

list_all_main_cmdsFunction · 0.85
list_all_other_cmdsFunction · 0.85
help_unknown_cmdFunction · 0.85
get_strategyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected