actually un-do effects of resolve
authorJohn Kohl <jtkohl@mit.edu>
Thu, 26 Apr 1990 17:19:36 +0000 (17:19 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 26 Apr 1990 17:19:36 +0000 (17:19 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@594 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/keytab/file/ktf_close.c

index 138a9355916342b194bb7012dbae6d1b994a4a44..abcf8493f548fb42cca714a6d88ebb325417e192 100644 (file)
@@ -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 */
 }