X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=alias.c;h=9be40dc180c568a835df57b6abe071858d225bf2;hb=ea267f0ef94406be54d11511b3492f71717481d2;hp=aec85d624377e27ad52636b29d21cac7ac225262;hpb=c88f8ebd5e7542e4ee2ac2c24dfd5f358dbb4235;p=apps%2Fmadmutt.git 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 {