if (mutt_addrlist_to_intl (new->addr, &err))
{
mutt_error (_("Error: '%s' is a bad IDN."), err);
+ FREE (&err);
mutt_sleep (2);
continue;
}
if ((addr = mutt_parse_adrlist (NULL, buf->data)) == NULL)
goto bail;
if (mutt_addrlist_to_intl (addr, &estr))
- {
+ {
snprintf (err->data, err->dsize, _("%sgroup: warning: bad IDN '%s'.\n"),
data == 1 ? "un" : "", estr);
+ FREE (&estr);
+ rfc822_free_address (&addr);
goto bail;
}
if (data == MUTT_GROUP)
{
snprintf (err->data, err->dsize, _("Warning: Bad IDN '%s' in alias '%s'.\n"),
estr, tmp->name);
+ FREE (&estr);
goto bail;
}
const char *fqdn = mutt_fqdn (1);
char resent_from[STRING];
int ret;
- char *err;
+ char *err = NULL;
resent_from[0] = '\0';
from = mutt_default_from ();
{
mutt_error (_("Bad IDN %s while preparing resent-from."),
err);
+ FREE (&err);
rfc822_free_address (&from);
return -1;
}