mirror of
https://github.com/samba-team/samba.git
synced 2025-08-08 13:49:29 +03:00
@ -511,13 +511,13 @@ char *kerberos_get_default_realm_from_ccache( void )
|
||||
|
||||
out:
|
||||
|
||||
if (princ) {
|
||||
krb5_free_principal(ctx, princ);
|
||||
}
|
||||
if (cc) {
|
||||
krb5_cc_close(ctx, cc);
|
||||
}
|
||||
if (ctx) {
|
||||
if (princ) {
|
||||
krb5_free_principal(ctx, princ);
|
||||
}
|
||||
if (cc) {
|
||||
krb5_cc_close(ctx, cc);
|
||||
}
|
||||
krb5_free_context(ctx);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user