[4461] in Kerberos
Re: kinit does[sic] free my_creds contents
daemon@ATHENA.MIT.EDU (Jim Miller)
Mon Jan 9 15:42:10 1995
From: jim@bilbo.suite.com (Jim Miller)
Date: Mon, 9 Jan 95 14:07:28 -0600
To: krb5-bugs@MIT.EDU
Cc: kerberos@MIT.EDU
Reply-To: Jim_Miller@suite.com
In a previous e-mail, I suggested the following:
> Solution: Put in a call to "krb5_free_cred_contents" at
> the bottom, replacing the function calls that free
> "server" and "my_addresses".
This is not quite right. You want to keep the call to
krb5_free_addresses(my_addresses).
At the time I thought "my_creds.addresses" was set to point at
"my_adresses" somewhere inside the call to
"krb5_get_in_tkt_with_password", but in fact it gets a copy of
"my_addresses".
Sorry about that,
Jim_Miller@suite.com