diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-12-09 00:45:51 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-12-09 00:45:51 +0000 |
commit | bc26ea1e5c712aeef3091c0d3442b7dc430da74c (patch) | |
tree | f55ff7a36749046aa4f299b160513085a15db62f | |
parent | 6490fbce6b42277b3a75c060bc4f1c00c89924c3 (diff) | |
download | samba-bc26ea1e5c712aeef3091c0d3442b7dc430da74c.tar.gz samba-bc26ea1e5c712aeef3091c0d3442b7dc430da74c.tar.bz2 samba-bc26ea1e5c712aeef3091c0d3442b7dc430da74c.zip |
fixed used of string after free
(This used to be commit f7ead035ebe55e94cdd5807b173bd4612866b06f)
-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; } |