| 155 | } |
| 156 | |
| 157 | void |
| 158 | xo_encoders_clean (void) |
| 159 | { |
| 160 | xo_encoder_node_t *xep; |
| 161 | |
| 162 | xo_encoder_setup(); |
| 163 | |
| 164 | for (;;) { |
| 165 | xep = TAILQ_FIRST(&xo_encoders); |
| 166 | if (xep == NULL) |
| 167 | break; |
| 168 | |
| 169 | TAILQ_REMOVE(&xo_encoders, xep, xe_link); |
| 170 | |
| 171 | if (xep->xe_dlhandle) |
| 172 | dlclose(xep->xe_dlhandle); |
| 173 | |
| 174 | xo_free(xep); |
| 175 | } |
| 176 | |
| 177 | xo_string_list_clean(&xo_encoder_path); |
| 178 | } |
| 179 | |
| 180 | static void |
| 181 | xo_encoder_setup (void) |
nothing calls this directly
no test coverage detected