Deep copy an edge (binding owns the strings) */
| 2466 | |
| 2467 | /* Deep copy an edge (binding owns the strings) */ |
| 2468 | static void edge_deep_copy(cbm_edge_t *dst, const cbm_edge_t *src) { |
| 2469 | *dst = *src; |
| 2470 | dst->project = heap_strdup(src->project); |
| 2471 | dst->type = heap_strdup(src->type); |
| 2472 | dst->properties_json = heap_strdup(src->properties_json); |
| 2473 | } |
| 2474 | |
| 2475 | static void edge_fields_free(cbm_edge_t *e) { |
| 2476 | safe_str_free(&e->project); |
no test coverage detected