| 148 | } |
| 149 | |
| 150 | static void free_filters(filter_rule *ent) |
| 151 | { |
| 152 | while (ent) { |
| 153 | filter_rule *next = ent->next; |
| 154 | free_filter(ent); |
| 155 | ent = next; |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | /* Build a filter structure given a filter pattern. The value in "pat" |
| 160 | * is not null-terminated. "rule" is either held or freed, so the |
no test coverage detected