mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-09 16:34:45 -05:00
MIT Kerberos and krb5_free_creds_contents (ITS#715)
fix suggested by Norbert Klasen <klasen@zdv.uni-tuebingen.de>
This commit is contained in:
parent
fdf1e5b9bf
commit
f319444df0
1 changed files with 3 additions and 1 deletions
|
|
@ -48,6 +48,8 @@
|
|||
|
||||
#include <lber.h>
|
||||
|
||||
#include "ldap_pvt.h"
|
||||
|
||||
#include "lutil_md5.h"
|
||||
#include "lutil_sha1.h"
|
||||
#include "lutil.h"
|
||||
|
|
@ -751,7 +753,7 @@ static int chk_kerberos(
|
|||
|
||||
krb5_free_principal( context, client );
|
||||
krb5_free_principal( context, server );
|
||||
krb5_free_creds_contents( context, &creds );
|
||||
krb5_free_cred_contents( context, &creds );
|
||||
krb5_free_context( context );
|
||||
|
||||
rtn = !!ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue