Free a multi-arg function argument array. */
| 877 | |
| 878 | /* Free a multi-arg function argument array. */ |
| 879 | static 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. */ |
| 889 | static void func_item_fields_free(cbm_return_item_t *item) { |
no test coverage detected