#include "mutt.h"
#include "sort.h"
+#include "pattern.h"
typedef struct score_t {
char *str;
for (tmp = Score; tmp;) {
last = tmp;
tmp = tmp->next;
- mutt_pattern_free (&last->pat);
+ pattern_list_wipe(&last->pat);
p_delete(&last);
}
Score = NULL;
last->next = tmp->next;
else
Score = tmp->next;
- mutt_pattern_free (&tmp->pat);
+ pattern_list_wipe(&tmp->pat);
p_delete(&tmp);
/* there should only be one score per pattern, so we can stop here */
break;