diff options
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/kerberos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c index a25daf5399..d1b1f7240c 100644 --- a/source3/libads/kerberos.c +++ b/source3/libads/kerberos.c @@ -334,13 +334,13 @@ char* kerberos_secrets_fetch_des_salt( void ) return False; } + salt = (char*)secrets_fetch( key, NULL ); + if ( !salt ) { DEBUG(8,("kerberos_secrets_fetch_des_salt: NULL salt!\n")); secrets_delete( key ); } - salt = (char*)secrets_fetch( key, NULL ); - SAFE_FREE( key ); return salt; |