Remove duplicated code

This strange bit of duplication was not surprisingly causing a double-free
This commit is contained in:
Rob Crittenden
2010-01-25 17:12:03 -05:00
parent 7b571e3693
commit 0b0cd7872f

View File

@@ -116,12 +116,6 @@ remove_realm(krb5_context context, krb5_keytab ktid, const char *realm, int debu
goto done;
}
/* keytab entries are locked when looping. Temporarily suspend
* the looping. */
krb5_kt_end_seq_get(context, ktid, &kt_cursor);
/* keytab entries are locked when looping. Temporarily suspend
* the looping. */
krb5_kt_end_seq_get(context, ktid, &kt_cursor);