diff options
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/kerberos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c index 521fe0d5eb..64eca2c8c4 100644 --- a/source3/libads/kerberos.c +++ b/source3/libads/kerberos.c @@ -104,11 +104,11 @@ int ads_kinit_password(ADS_STRUCT *ads) } asprintf(&s, "%s@%s", ads->user_name, ads->realm); ret = kerberos_kinit_password(s, ads->password); - free(s); if (ret) { DEBUG(1,("kerberos_kinit_password %s failed: %s\n", s, error_message(ret))); } + free(s); return ret; } |