Question about freeing memory when using krb5_get_credentials

Markus Moeller huaraz at moeller.plus.com
Sun Jun 10 19:30:43 EDT 2007


I  have a krb5_free_context at the end. And I only see the memory issue when 
I use krb5_get_credentials from a realm with which I have a cross realms 
relation.

Markus

"Russ Allbery" <rra at stanford.edu> wrote in message 
news:878xarldp6.fsf at windlord.stanford.edu...
> Markus Moeller <huaraz at moeller.plus.com> writes:
>
>> I am using a call to krb5_get_credentials which seems to create a memory
>> leak. If I look into prof_get.c it says profile_free_list() would be the
>> public exportable function to free the memory, but how do I get the
>> pointer to the memory to free ?
>
> Usually, profile allocations are going to be stored in the context and
> will be freed when you free the context.
>
> -- 
> Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>
> ________________________________________________
> Kerberos mailing list           Kerberos at mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
> 






More information about the Kerberos mailing list