X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=alias.c;h=9be40dc180c568a835df57b6abe071858d225bf2;hp=aec85d624377e27ad52636b29d21cac7ac225262;hb=d0dc8fb657cff90709c15d4b106415b868857f6a;hpb=c88f8ebd5e7542e4ee2ac2c24dfd5f358dbb4235 diff --git a/alias.c b/alias.c index aec85d6..9be40dc 100644 --- a/alias.c +++ b/alias.c @@ -79,7 +79,7 @@ static address_t *mutt_expand_aliases_r (address_t * a, LIST ** expn) u->data = m_strdup(a->mailbox); u->next = *expn; *expn = u; - w = rfc822_cpy_adr (t); + w = address_list_dup (t); w = mutt_expand_aliases_r (w, expn); if (head) last->next = w; @@ -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 {