svn rev #22311: trunk/src/lib/krb5/krb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Tue May 5 12:35:31 EDT 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=22311
Commit By: ghudson
Log Message:
Remove some unnecessary null checks in krb5_get_in_tkt_with_keytab.
Changed Files:
U trunk/src/lib/krb5/krb/gic_keytab.c
Modified: trunk/src/lib/krb5/krb/gic_keytab.c
===================================================================
--- trunk/src/lib/krb5/krb/gic_keytab.c 2009-05-05 16:30:19 UTC (rev 22310)
+++ trunk/src/lib/krb5/krb/gic_keytab.c 2009-05-05 16:35:31 UTC (rev 22311)
@@ -202,10 +202,8 @@
if (retval) {
goto cleanup;
}
- if (creds->server)
- krb5_free_principal( context, creds->server);
- if (creds->client)
- krb5_free_principal( context, creds->client);
+ krb5_free_principal(context, creds->server);
+ krb5_free_principal(context, creds->client);
creds->client = client_princ;
creds->server = server_princ;
More information about the cvs-krb5
mailing list