Closed dafanasiev closed 8 months ago
You allocate creds in ldap-xplat.c#L213 and ldap-xplat.c#L230 but newer free it (need call krb5_free_cred_contents if memory is allocated successfully).
creds
krb5_free_cred_contents
Thank you, I guess that function call should be added to the end part of the create_krb5_cred function.
create_krb5_cred
Could you open a PR with the fix?
The PR has been merged to the dev branch.
You allocate
creds
in ldap-xplat.c#L213 and ldap-xplat.c#L230 but newer free it (need callkrb5_free_cred_contents
if memory is allocated successfully).