mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
krb5_free_string takes a krb5_context
Give krb5_free_string a krb5_context, not just the string to free. Change-Id: Ic24794286716669679ea278d20b279a458683103 Reviewed-on: http://gerrit.openafs.org/3262 Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
e8c93c424f
commit
354d21878e
@ -163,7 +163,7 @@ aklog_authenticate(char *userName, char *response, int *reenter, char **message)
|
||||
krb5_svc_get_msg(status,&str);
|
||||
sprintf(*message, "Unable to obtain AFS tokens: %s.\n",
|
||||
str);
|
||||
krb5_free_string(str);
|
||||
krb5_free_string(context, str);
|
||||
} else
|
||||
#endif
|
||||
sprintf(*message, "Unable to obtain AFS tokens: %s.\n",
|
||||
|
Loading…
Reference in New Issue
Block a user