From: Tom Yu Date: Wed, 9 Aug 1995 01:43:38 +0000 (+0000) Subject: fix typos X-Git-Tag: krb5-1.0-beta6~1351 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8a9097791de33a6b0c9f23ba8dadc11e14050b77;p=krb5.git fix typos git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6475 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kdb/kdb_cpw.c b/src/lib/kdb/kdb_cpw.c index e75192f1c..a5da5b55f 100644 --- a/src/lib/kdb/kdb_cpw.c +++ b/src/lib/kdb/kdb_cpw.c @@ -96,11 +96,10 @@ add_key_rnd(context, master_eblock, ks_tuple, ks_tuple_count, db_entry, kvno) /* Get tgt from database */ retval = krb5_db_get_principal(context, krbtgt_princ, &krbtgt_entry, - &one, &more)) { - krb5_free_principal(krbtgt_princ); /* don't need it anymore */ + &one, &more); + krb5_free_principal(context, krbtgt_princ); /* don't need it anymore */ if (retval) return(retval); - } if ((one > 1) || (more)) { krb5_db_free_principal(context, &krbtgt_entry, one); return KRB5KDC_ERR_PRINCIPAL_NOT_UNIQUE;