Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix trivial KDC memory leak with test KDB module
If a KDB module zeroes out the master key in its fetch_master_key() method (as the test KDB module does), krb5_db_fetch_mkey() will copy it, allocating one byte of memory for the contents. The KDC will then leak it on exit, as the length is zero. Simplify master key destruction using zapfree(). [ghudson@mit.edu: wrote commit message]
- Loading branch information