From 59d179452780dae847281a85d52d8e6e20575747 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 19 Jun 2004 00:55:29 +0000 Subject: r1194: Definition of krb5_free_unparsed_name() if we do't have it. Jeremy. (This used to be commit 82c219ea023dd546fcde29569725865a42e4198e) --- source3/libsmb/clikrb5.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c index 9027f192ef..01fcfcc3dd 100644 --- a/source3/libsmb/clikrb5.c +++ b/source3/libsmb/clikrb5.c @@ -234,6 +234,13 @@ krb5_error_code get_kerberos_allowed_etypes(krb5_context context, } #endif +#if !defined(HAVE_KRB5_FREE_UNPARSED_NAME) + void krb5_free_unparsed_name(krb5_context context, char *val) +{ + SAFE_FREE(val); +} +#endif + static BOOL ads_cleanup_expired_creds(krb5_context context, krb5_ccache ccache, krb5_creds *credsp) -- cgit