fix typos
authorTom Yu <tlyu@mit.edu>
Wed, 9 Aug 1995 01:43:38 +0000 (01:43 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 9 Aug 1995 01:43:38 +0000 (01:43 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6475 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kdb/kdb_cpw.c

index e75192f1c0fcd92086e7cba396589824940dce64..a5da5b55f498aed617624f6099fddf36e8942ee6 100644 (file)
@@ -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;