| 732 | } |
| 733 | |
| 734 | static void op_free_groups(const char *key, void *value, void *ud) { |
| 735 | (void)ud; |
| 736 | op_strs_t *dirs = value; |
| 737 | for (int i = 0; i < dirs->count; i++) { |
| 738 | cbm_free(CBM_MEM_CLASS_OTHER, dirs->items[i]); |
| 739 | } |
| 740 | cbm_free(CBM_MEM_CLASS_OTHER, dirs->items); |
| 741 | cbm_free(CBM_MEM_CLASS_OTHER, dirs); |
| 742 | cbm_free(CBM_MEM_CLASS_OTHER, (void *)key); |
| 743 | } |
| 744 | |
| 745 | /* A JSON string property's value (simple, unescaped scalars). */ |
| 746 | static bool op_prop(const char *props, const char *key, char *out, size_t out_sz) { |
nothing calls this directly
no test coverage detected