if (ImapAuthenticators && *ImapAuthenticators) {
/* Try user-specified list of authentication methods */
- methods = safe_strdup (ImapAuthenticators);
+ methods = str_dup (ImapAuthenticators);
for (method = methods; method; method = delim) {
delim = strchr (method, ':');
!ascii_strcasecmp (authenticator->method, method))
if ((r = authenticator->authenticate (idata, method)) !=
IMAP_AUTH_UNAVAIL) {
- FREE (&methods);
+ mem_free (&methods);
return r;
}
}
}
- FREE (&methods);
+ mem_free (&methods);
}
else {
/* Fall back to default: any authenticator */