From: John Kohl Date: Thu, 26 Apr 1990 17:19:36 +0000 (+0000) Subject: actually un-do effects of resolve X-Git-Tag: krb5-1.0-alpha2~802 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fac4518d2f1bcaff02b909300d6ef6a97468998e;p=krb5.git actually un-do effects of resolve git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@594 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 138a93559..abcf8493f 100644 --- a/src/lib/krb5/keytab/file/ktf_close.c +++ b/src/lib/krb5/keytab/file/ktf_close.c @@ -35,8 +35,9 @@ krb5_ktfile_close(id) * This routine should undo anything done by krb5_ktfile_resolve(). */ { - (void) free(KTFILENAME(id)); - (void) free((krb5_pointer)(id)->data); + xfree(KTFILENAME(id)); + xfree(id->data); id->ops = 0; + xfree(id); return (0); /* XXX */ }