From e6c2a706783fc11f18d1a21812d9b2dba9017e5f Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Mon, 3 Aug 2009 12:10:07 +0200 Subject: [PATCH] Indent some more --- lib/hdb/keytab.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/lib/hdb/keytab.c b/lib/hdb/keytab.c index fcd4da516..a557de036 100644 --- a/lib/hdb/keytab.c +++ b/lib/hdb/keytab.c @@ -394,15 +394,19 @@ hdb_next_entry(krb5_context context, } -static int hdb_end_seq_get(krb5_context context, - krb5_keytab id, - krb5_kt_cursor *cursor) { +static int +hdb_end_seq_get(krb5_context context, + krb5_keytab id, + krb5_kt_cursor *cursor) +{ struct hdb_cursor *c = cursor->data; + (c->db->hdb_close)(context, c->db); (c->db->hdb_destroy)(context, c->db); - if (!c->next) { + + if (!c->next) hdb_free_entry(context, &c->hdb_entry); - } + free(c); return 0; }