From 0b0cd7872fa87b4a12113eb14835a09af436ae33 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 25 Jan 2010 17:12:03 -0500 Subject: Remove duplicated code This strange bit of duplication was not surprisingly causing a double-free --- ipa-client/ipa-rmkeytab.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ipa-client/ipa-rmkeytab.c') 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); -- cgit