Recursive fallback for strset_clear's OOM path. */
| 394 | |
| 395 | /* Recursive fallback for strset_clear's OOM path. */ |
| 396 | static void clear(struct strset n) |
| 397 | { |
| 398 | if (!n.u.s[0]) { |
| 399 | if (likely(n.u.n->byte_num != (size_t)-1)) { |
| 400 | clear(n.u.n->child[0]); |
| 401 | clear(n.u.n->child[1]); |
| 402 | } |
| 403 | free(n.u.n); |
| 404 | } |
| 405 | } |
| 406 | |
| 407 | void strset_clear(struct strset *set) |
| 408 | { |
no outgoing calls
no test coverage detected