mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
krb5_wrap: Move krb5_free_unparsed_name() to the top
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
7fe150cbb2
commit
be21e7f203
@ -106,6 +106,13 @@ krb5_error_code krb5_auth_con_setuseruserkey(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
|
||||
|
||||
|
||||
/**********************************************************
|
||||
* WRAPPING FUNCTIONS
|
||||
@ -435,13 +442,6 @@ krb5_error_code smb_krb5_parse_name(krb5_context context,
|
||||
return ret;
|
||||
}
|
||||
|
||||
#if !defined(HAVE_KRB5_FREE_UNPARSED_NAME)
|
||||
void krb5_free_unparsed_name(krb5_context context, char *val)
|
||||
{
|
||||
SAFE_FREE(val);
|
||||
}
|
||||
#endif
|
||||
|
||||
/**************************************************************
|
||||
krb5_parse_name that returns a UNIX charset name. Must
|
||||
be freed with talloc_free() call.
|
||||
|
Loading…
Reference in New Issue
Block a user