Memory Leak problems with krb5_get_init_creds_password?
Ken Raeburn
raeburn at MIT.EDU
Thu Aug 18 18:20:48 EDT 2005
On Aug 18, 2005, at 17:49, brian.joh at comcast.net wrote:
> I know you weren't trying to write any production code or
> anything. I was just pointing out, that if the memory leak
> is moved to krb5_init_context(), then the problem is solved
> for realistic cases. And I was just trying to say it wouldn't
> fix the problem in your test program and that your leak
> test would still leak.
We've run into other cases where a krb5_context is needed but other
APIs make it difficult for one to be made available. So there's code
out there that allocates many short-lived krb5_context structures,
often without using them for actual network stuff.
More information about the Kerberos
mailing list