Free get_options on failure [CID-119]
This commit is contained in:
@@ -37,6 +37,7 @@ krb5_verify_password (POP *p)
|
||||
|
||||
ret = krb5_parse_name (p->context, p->user, &client);
|
||||
if (ret) {
|
||||
krb5_get_init_creds_opt_free(p->context, get_options);
|
||||
pop_log(p, POP_PRIORITY, "krb5_parse_name: %s",
|
||||
krb5_get_err_text (p->context, ret));
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user