[4448] in Kerberos
kinit does free my_creds contents
daemon@ATHENA.MIT.EDU (Jim Miller)
Fri Jan 6 22:38:23 1995
From: jim@bilbo.suite.com (Jim Miller)
Date: Fri, 6 Jan 95 21:24:01 -0600
To: krb5-bugs@MIT.EDU
Cc: kerberos@MIT.EDU
Reply-To: Jim_Miller@suite.com
This bug report is for KRB5, beta 4, patchlevel 3.
clients/kinit.c does not free most of the dynamically allocated fields in
the variable "my_creds", including "my_creds.keyblock" and
"my_creds.ticket".
Solution: Put in a call to "krb5_free_cred_contents" at the bottom,
replacing the function calls that free "server" and "my_addresses".
Jim_Miller@suite.com