From 3237dae80b8d2c4483cec8bc65458ff0b429dca5 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 25 Apr 1990 17:06:49 +0000 Subject: [PATCH] fix to fix up typo git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@587 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/keytab/file/ktf_close.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/krb5/keytab/file/ktf_close.c b/src/lib/krb5/keytab/file/ktf_close.c index c961e5bc5..138a93559 100644 --- a/src/lib/krb5/keytab/file/ktf_close.c +++ b/src/lib/krb5/keytab/file/ktf_close.c @@ -26,7 +26,7 @@ static char rcsid_krb5_ktfile_close_c[] = krb5_error_code krb5_ktfile_close(id) - krb5_keytab *id; + krb5_keytab id; /* * This routine is responsible for freeing all memory allocated * for this keytab. There are no system resources that need @@ -35,8 +35,8 @@ krb5_ktfile_close(id) * This routine should undo anything done by krb5_ktfile_resolve(). */ { - (void) free(KTFILENAME(*id)); - (void) free((krb5_pointer)(*id)->data); - *id = NULL; + (void) free(KTFILENAME(id)); + (void) free((krb5_pointer)(id)->data); + id->ops = 0; return (0); /* XXX */ } -- 2.26.2