Deep copy an edge (binding owns the strings) */
| 2265 | |
| 2266 | /* Deep copy an edge (binding owns the strings) */ |
| 2267 | static void edge_deep_copy(cbm_edge_t *dst, const cbm_edge_t *src) { |
| 2268 | *dst = *src; |
| 2269 | dst->project = heap_strdup(src->project); |
| 2270 | dst->type = heap_strdup(src->type); |
| 2271 | dst->properties_json = heap_strdup(src->properties_json); |
| 2272 | } |
| 2273 | |
| 2274 | static void edge_fields_free(cbm_edge_t *e) { |
| 2275 | safe_str_free(&e->project); |
no test coverage detected