MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / func_args_free

Function func_args_free

src/cypher/cypher.c:888–895  ·  view source on GitHub ↗

Free a multi-arg function argument array. */

Source from the content-addressed store, hash-verified

886
887/* Free a multi-arg function argument array. */
888static void func_args_free(cbm_func_arg_t *args, int count) {
889 for (int i = 0; i < count; i++) {
890 safe_str_free(&args[i].variable);
891 safe_str_free(&args[i].property);
892 safe_str_free(&args[i].literal);
893 }
894 free(args);
895}
896
897/* Free the fields of a partially-parsed multi-arg function item. */
898static void func_item_fields_free(cbm_return_item_t *item) {

Callers 3

func_item_fields_freeFunction · 0.85
cond_func_fields_freeFunction · 0.85
free_whereFunction · 0.85

Calls 1

safe_str_freeFunction · 0.85

Tested by

no test coverage detected