[PATCH] cifs-utils: work around missing krb5_free_string in Heimdal

Jeremy Allison jra at samba.org
Fri Mar 4 00:42:06 UTC 2022

On Thu, Mar 03, 2022 at 11:09:03PM +0200, atheik via samba-technical wrote:
>The krb5_free_string function is not present in Heimdal and instead
>krb5_xfree should be used for freeing the string allocation done by

Does cifs-utils have a libreplace equivalent ?

Wouldn't it be easier to test for the existence of
krb5_free_string() and write a libreplace wrapper
function so krb5_free_string() can be called from
all code without #ifdefs in the main code ?

More information about the samba-technical mailing list