diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-16 16:29:46 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-16 17:11:48 +0100 |
commit | bdc0372f8a6116b3be7cd8bd6d398c0f1929ae68 (patch) | |
tree | a8408f9fcecfcfa95775870b51277225cf521e28 | |
parent | 36175be5d4dbbd1545db4ac7de98d9293b897188 (diff) | |
download | samba-bdc0372f8a6116b3be7cd8bd6d398c0f1929ae68.tar.gz samba-bdc0372f8a6116b3be7cd8bd6d398c0f1929ae68.tar.bz2 samba-bdc0372f8a6116b3be7cd8bd6d398c0f1929ae68.zip |
s4:auth/kerberos/kerberos.c - fix also here a memory leak
The options need to be freed also on this error case.
-rw-r--r-- | source4/auth/kerberos/kerberos.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/auth/kerberos/kerberos.c b/source4/auth/kerberos/kerberos.c index 8df54cc8b4..d4549ee88a 100644 --- a/source4/auth/kerberos/kerberos.c +++ b/source4/auth/kerberos/kerberos.c @@ -100,6 +100,7 @@ if ((code = krb5_get_init_creds_password(ctx, &my_creds, principal, password, NULL, NULL, 0, NULL, options))) { + krb5_get_init_creds_opt_free(ctx, options); return code; } |