In krb5_get_in_tkt, free the whole encoded request (since the structure was allocated by encode_krb5_as_req), not just the contents. http://src.mit.edu/fisheye/changelog/krb5/?cs=22310 Commit By: ghudson Revision: 22310 Changed Files: U trunk/src/lib/krb5/krb/get_in_tkt.c