MCPcopy Create free account
hub / github.com/F-Stack/f-stack / xo_encoders_clean

Function xo_encoders_clean

tools/libxo/libxo/xo_encoder.c:157–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void
158xo_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
180static void
181xo_encoder_setup (void)

Callers

nothing calls this directly

Calls 2

xo_encoder_setupFunction · 0.85
xo_string_list_cleanFunction · 0.85

Tested by

no test coverage detected