Reported-by: Zhang Yaqi <zhangyaqi@xxxxxxxxxx> Signed-off-by: Steve Dickson <steved@xxxxxxxxxx> --- 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; -- 2.45.2