Question about freeing memory when using krb5_get_credentials

Russ Allbery rra at stanford.edu
Sun Jun 10 17:08:53 EDT 2007


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/>



More information about the Kerberos mailing list