(krb5_get_init_creds_opt_get_error): clear error string on error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17881 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -388,6 +388,8 @@ krb5_get_init_creds_opt_get_error(krb5_context context,
|
||||
}
|
||||
|
||||
ret = copy_KRB_ERROR(*error, opt->opt_private->error);
|
||||
if (ret)
|
||||
krb5_clear_error_string(context);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user