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

Function func_args_free

src/cypher/cypher.c:879–886  ·  view source on GitHub ↗

Free a multi-arg function argument array. */

Source from the content-addressed store, hash-verified

877
878/* Free a multi-arg function argument array. */
879static void func_args_free(cbm_func_arg_t *args, int count) {
880 for (int i = 0; i < count; i++) {
881 safe_str_free(&args[i].variable);
882 safe_str_free(&args[i].property);
883 safe_str_free(&args[i].literal);
884 }
885 free(args);
886}
887
888/* Free the fields of a partially-parsed multi-arg function item. */
889static 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