From: John Kohl Date: Wed, 25 Apr 1990 17:06:49 +0000 (+0000) Subject: fix to fix up typo X-Git-Tag: krb5-1.0-alpha2~809 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3237dae80b8d2c4483cec8bc65458ff0b429dca5;p=krb5.git fix to fix up typo git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@587 dc483132-0cff-0310-8789-dd5450dbe970 --- 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 */ }