The memory keytab introduced in ticket 5411 suffers from a memory leak
in the Heimdal compatible kt_close() handling and thread destructor in which
the cursor->entry is not freed.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19138
dc483132-0cff-0310-8789-
dd5450dbe970
* krb5_context since we know that the context isn't used by\r
* krb5_kt_free_entry or krb5_free_principal. */\r
krb5_kt_free_entry(NULL, cursor->entry);\r
+ krb5_xfree(cursor->entry);\r
krb5_xfree(cursor);\r
}\r
\r
next_cursor = cursor->next;\r
\r
krb5_kt_free_entry(context, cursor->entry);\r
+ krb5_xfree(cursor->entry);\r
krb5_xfree(cursor);\r
}\r
\r