| 291 | } |
| 292 | |
| 293 | static void clear(struct strset n) |
| 294 | { |
| 295 | if (!n.u.s[0]) { |
| 296 | if (likely(n.u.n->byte_num != (size_t)-1)) { |
| 297 | clear(n.u.n->child[0]); |
| 298 | clear(n.u.n->child[1]); |
| 299 | } |
| 300 | free(n.u.n); |
| 301 | } |
| 302 | } |
| 303 | |
| 304 | void strset_clear(struct strset *set) |
| 305 | { |