MCPcopy Index your code
hub / github.com/R4be1/PuppetMaster / cleanup_argarray

Function cleanup_argarray

SSL-shell/utils.c:22–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20*/
21
22void cleanup_argarray(char ***words, int *wordCount)
23{
24 for (int i = 0; i < *wordCount; i++)
25 {
26 free((*words)[i]);
27 }
28 free(*words);
29 *words = NULL;
30 *wordCount = 0;
31}
32
33// function to reduce duplicated code
34void process_word(char ***words, int *wordCount, char *word, int wordIndex)

Callers 3

process_wordFunction · 0.85
split_commandFunction · 0.85
SSL_shellFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected