| 780 | } |
| 781 | |
| 782 | static void clear_pattern_entry_hashmap(struct hashmap *map) |
| 783 | { |
| 784 | struct hashmap_iter iter; |
| 785 | struct pattern_entry *entry; |
| 786 | |
| 787 | hashmap_for_each_entry(map, &iter, entry, ent) { |
| 788 | free(entry->pattern); |
| 789 | } |
| 790 | hashmap_clear_and_free(map, struct pattern_entry, ent); |
| 791 | } |
| 792 | |
| 793 | static void add_pattern_to_hashsets(struct pattern_list *pl, struct path_pattern *given) |
| 794 | { |
no outgoing calls
no test coverage detected