Simon Wilkinson <[email protected]> writes:

> I'll fix this upstream, I think the best thing to do is to have a
> configure test for krb5_free_unparsed_name, and use krb5_xfree if it's
> not available.

> However, I'm a little concerned that when Love added the new function,
> he's marked it deprecated. I've emailed him to find out if there's
> something that should be used instead.

I suspect it's deprecated just because Heimdal has a different memory
management API technique than MIT Kerberos.  MIT adds free functions for
every type of allocated memory, whereas Heimdal collects the random simple
frees into krb5_xfree, which simplifies the interface somewhat.  If you're
writing solely to Heimdal's API, there's no reason to use the more
specific function.

-- 
Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to