| 715 | } |
| 716 | |
| 717 | static void state_free(project_state_t *s) { |
| 718 | if (!s) { |
| 719 | return; |
| 720 | } |
| 721 | free(s->project_name); |
| 722 | free(s->root_path); |
| 723 | free(s); |
| 724 | } |
| 725 | |
| 726 | /* Move a state onto the deferred-free list (caller holds projects_lock). |
| 727 | * The state may still be referenced by a poll_once snapshot; poll_once |
no outgoing calls
no test coverage detected