summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-07-11 20:50:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:15 -0500
commit361fef49c50263313d61cdaad5a4fbe2c5ddb78d (patch)
treeedbc51b4a6afa8df3bb80fe70381f5a9885207f4 /source3
parent751ad5753402749c1e1638ba4d07aed0d76c52bc (diff)
downloadsamba-361fef49c50263313d61cdaad5a4fbe2c5ddb78d.tar.gz
samba-361fef49c50263313d61cdaad5a4fbe2c5ddb78d.tar.bz2
samba-361fef49c50263313d61cdaad5a4fbe2c5ddb78d.zip
r16955: Fix an uninitialized var -- Jerry, please check.
(This used to be commit bf701f51294dacd0d4077b5304772c40119460eb)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/kerberos.c4
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;