In krb5_get_in_tkt, free the whole encoded request (since the structure was allocated by encode_krb5_as_req), not just the contents. https://github.com/krb5/krb5/commit/31f019a7687f1101e2b4f30e9191887acd9d48b6 Commit By: ghudson Revision: 22310 Changed Files: U trunk/src/lib/krb5/krb/get_in_tkt.c