summaryrefslogtreecommitdiffstats
path: root/ipa-client
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-01-25 17:12:03 -0500
committerRob Crittenden <rcritten@redhat.com>2010-01-26 10:39:30 -0500
commit0b0cd7872fa87b4a12113eb14835a09af436ae33 (patch)
tree5bdfe9625e1195eeab1ace3cea77d45479ad006f /ipa-client
parent7b571e369312ae5c246f1a90337c0d5980a6a538 (diff)
downloadfreeipa-0b0cd7872fa87b4a12113eb14835a09af436ae33.tar.gz
freeipa-0b0cd7872fa87b4a12113eb14835a09af436ae33.tar.xz
freeipa-0b0cd7872fa87b4a12113eb14835a09af436ae33.zip
Remove duplicated code
This strange bit of duplication was not surprisingly causing a double-free
Diffstat (limited to 'ipa-client')
-rw-r--r--ipa-client/ipa-rmkeytab.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ipa-client/ipa-rmkeytab.c b/ipa-client/ipa-rmkeytab.c
index 62480474..867473bc 100644
--- a/ipa-client/ipa-rmkeytab.c
+++ b/ipa-client/ipa-rmkeytab.c
@@ -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);