From fac4518d2f1bcaff02b909300d6ef6a97468998e Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 26 Apr 1990 17:19:36 +0000 Subject: [PATCH] actually un-do effects of resolve git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@594 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/keytab/file/ktf_close.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 */ } -- 2.26.2