move rx.[hc].
[apps/madmutt.git] / muttlib.c
index f901549..6d8b874 100644 (file)
--- a/muttlib.c
+++ b/muttlib.c
@@ -1236,7 +1236,7 @@ void mutt_free_spam_list (SPAM_LIST ** list)
   while (*list) {
     p = *list;
     *list = (*list)->next;
-    rx_free (&p->rx);
+    rx_delete(&p->rx);
     p_delete(&p->template);
     p_delete(&p);
   }