MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / free_token_node

Function free_token_node

nanofi/src/core/string_utils.c:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void free_token_node(struct token_node * node) {
53 if (node) {
54 free(node->data);
55 }
56 free(node);
57}
58
59void free_all_tokens(struct token_list * tks) {
60 while (tks && tks->head) {

Callers 2

free_all_tokensFunction · 0.85
remove_last_nodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected