need to free the entry itself as well
authorJohn Kohl <jtkohl@mit.edu>
Thu, 26 Apr 1990 12:00:41 +0000 (12:00 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 26 Apr 1990 12:00:41 +0000 (12:00 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@589 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/keytab/ktfr_entry.c

index a5bb1de487a5d100744a32bf0c333058d131fb4a..27bb232078164bc79e7383a6be9a4f7e6276f102 100644 (file)
@@ -24,5 +24,6 @@ krb5_keytab_entry *entry;
 {
     krb5_free_principal(entry->principal);
     krb5_free_keyblock(entry->key);
+    xfree(entry);
     return 0;
 }