use my usual API's for allocation/deallocation right now.
[apps/madmutt.git] / alias.c
diff --git a/alias.c b/alias.c
index aec85d6..c148c53 100644 (file)
--- a/alias.c
+++ b/alias.c
@@ -91,7 +91,7 @@ static address_t *mutt_expand_aliases_r (address_t * a, LIST ** expn)
         t = a;
         a = a->next;
         t->next = NULL;
-        rfc822_free_address (&t);
+        address_delete (&t);
         continue;
       }
       else {