On 7/22/24 5:32 AM, Steve Dickson wrote:
Reported-by: Zhang Yaqi <zhangyaqi@xxxxxxxxxx> Signed-off-by: Steve Dickson <steved@xxxxxxxxxx>
Committed... steved.
--- support/nfsidmap/umich_ldap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/support/nfsidmap/umich_ldap.c b/support/nfsidmap/umich_ldap.c index 1aa2af49..0f88ba44 100644 --- a/support/nfsidmap/umich_ldap.c +++ b/support/nfsidmap/umich_ldap.c @@ -200,6 +200,7 @@ static int set_krb5_ccname(const char *krb5_ccache_name) IDMAP_LOG(5, ("Failed to set creds cache for kerberos, err(%d)", retval)); } + free(env); #endif /* else HAVE_GSS_KRB5_CCACHE_NAME */ out: return retval;