Free an edge_ptr_array_t (callback) */
| 377 | |
| 378 | /* Free an edge_ptr_array_t (callback) */ |
| 379 | static void free_edge_array(const char *key, void *value, void *ud) { |
| 380 | (void)ud; |
| 381 | edge_ptr_array_t *arr = value; |
| 382 | if (arr) { |
| 383 | cbm_da_free(arr); |
| 384 | cbm_free(CBM_MEM_CLASS_GBUF_INDEX, arr); |
| 385 | } |
| 386 | cbm_free(CBM_MEM_CLASS_GBUF_INDEX, (void *)key); |
| 387 | } |
| 388 | |
| 389 | /* Free index keys only (deleted_set id keys). */ |
| 390 | static void free_index_key(const char *key, void *value, void *ud) { |
nothing calls this directly
no test coverage detected